]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Define classes with 'var' instead of 'const'
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 18 Jul 2017 17:41:25 +0000 (19:41 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 18 Jul 2017 19:52:06 +0000 (21:52 +0200)
Any symbols (including class properties) that should be visible
outside the module it's defined in need to be defined as global.
For now gjs still allows the access for 'const', but get rid of
the warnings spill now by changing it.

https://bugzilla.gnome.org/show_bug.cgi?id=785084

109 files changed:
HACKING
js/extensionPrefs/main.js
js/gdm/authPrompt.js
js/gdm/batch.js
js/gdm/loginDialog.js
js/gdm/oVirt.js
js/gdm/realmd.js
js/gdm/util.js
js/misc/extensionUtils.js
js/misc/history.js
js/misc/ibusManager.js
js/misc/keyboardManager.js
js/misc/loginManager.js
js/misc/modemManager.js
js/misc/objectManager.js
js/misc/smartcardManager.js
js/misc/util.js
js/misc/weather.js
js/portalHelper/main.js
js/ui/accessDialog.js
js/ui/altTab.js
js/ui/animation.js
js/ui/appDisplay.js
js/ui/appFavorites.js
js/ui/audioDeviceSelection.js
js/ui/background.js
js/ui/backgroundMenu.js
js/ui/boxpointer.js
js/ui/calendar.js
js/ui/checkBox.js
js/ui/closeDialog.js
js/ui/components/__init__.js
js/ui/components/automountManager.js
js/ui/components/autorunManager.js
js/ui/components/keyring.js
js/ui/components/networkAgent.js
js/ui/components/polkitAgent.js
js/ui/components/telepathyClient.js
js/ui/ctrlAltTab.js
js/ui/dash.js
js/ui/dateMenu.js
js/ui/dialog.js
js/ui/dnd.js
js/ui/edgeDragAction.js
js/ui/endSessionDialog.js
js/ui/extensionDownloader.js
js/ui/focusCaretTracker.js
js/ui/grabHelper.js
js/ui/ibusCandidatePopup.js
js/ui/iconGrid.js
js/ui/keyboard.js
js/ui/layout.js
js/ui/legacyTray.js
js/ui/lightbox.js
js/ui/lookingGlass.js
js/ui/magnifier.js
js/ui/magnifierDBus.js
js/ui/main.js
js/ui/messageList.js
js/ui/messageTray.js
js/ui/modalDialog.js
js/ui/mpris.js
js/ui/notificationDaemon.js
js/ui/osdMonitorLabeler.js
js/ui/osdWindow.js
js/ui/overview.js
js/ui/overviewControls.js
js/ui/padOsd.js
js/ui/panel.js
js/ui/panelMenu.js
js/ui/pointerWatcher.js
js/ui/popupMenu.js
js/ui/remoteMenu.js
js/ui/remoteSearch.js
js/ui/runDialog.js
js/ui/screenShield.js
js/ui/screencast.js
js/ui/screenshot.js
js/ui/search.js
js/ui/sessionMode.js
js/ui/shellDBus.js
js/ui/shellEntry.js
js/ui/shellMountOperation.js
js/ui/slider.js
js/ui/status/accessibility.js
js/ui/status/bluetooth.js
js/ui/status/brightness.js
js/ui/status/keyboard.js
js/ui/status/location.js
js/ui/status/network.js
js/ui/status/nightLight.js
js/ui/status/power.js
js/ui/status/rfkill.js
js/ui/status/screencast.js
js/ui/status/system.js
js/ui/status/volume.js
js/ui/switcherPopup.js
js/ui/tweener.js
js/ui/unlockDialog.js
js/ui/userWidget.js
js/ui/viewSelector.js
js/ui/windowAttentionHandler.js
js/ui/windowManager.js
js/ui/windowMenu.js
js/ui/workspace.js
js/ui/workspaceSwitcherPopup.js
js/ui/workspaceThumbnail.js
js/ui/workspacesView.js
js/ui/xdndHandler.js

diff --git a/HACKING b/HACKING
index b6ceaf1109a3877a8df258bf42dae3250e77223c..5165cfdc03bbd5383698bef8a857feab8146d435 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -132,7 +132,7 @@ There are many approaches to classes in JavaScript. We use our own class framewo
 (sigh), which is built in gjs. The advantage is that it supports inheriting from
 GObjects, although this feature isn't used very often in the Shell itself.
 
-    const IconLabelMenuItem = new Lang.Class({
+    var IconLabelMenuItem = new Lang.Class({
         Name: 'IconLabelMenuItem',
         Extends: PopupMenu.PopupMenuBaseItem,
 
@@ -169,7 +169,7 @@ GObject Introspection is a powerful feature that allows us to have native
 bindings for almost any library built around GObject. If a library requires
 you to inherit from a type to use it, you can do so:
 
-    const MyClutterActor = new Lang.Class({
+    var MyClutterActor = new Lang.Class({
         Name: 'MyClutterActor',
         Extends: Clutter.Actor,
 
@@ -215,7 +215,7 @@ that has a property called `actor`. We call this wrapper class the "delegate".
 We sometimes use expando properties to set a property called `_delegate` on
 the actor itself:
 
-    const MyClass = new Lang.Class({
+    var MyClass = new Lang.Class({
         Name: 'MyClass',
 
         _init: function() {
@@ -264,7 +264,7 @@ prototype:
     const Lang = imports.lang;
     const FnorbLib = imports.fborbLib;
 
-    const MyClass = new Lang.Class({
+    var MyClass = new Lang.Class({
         _init: function() {
             let fnorb = new FnorbLib.Fnorb();
             fnorb.connect('frobate', Lang.bind(this, this._onFnorbFrobate));
@@ -306,7 +306,7 @@ property.
 
     const ANIMATION_TIME = 2000;
 
-    const MyClass = new Lang.Class({
+    var MyClass = new Lang.Class({
         Name: 'MyClass',
 
         _init: function() {
index 457ab6c1dafd455e33dcece5dc0fed5add67c964..7feef5db4d568d3b2f6405ef1ac1ace158875471 100644 (file)
@@ -32,7 +32,7 @@ function stripPrefix(string, prefix) {
     return string;
 }
 
-const Application = new Lang.Class({
+var Application = new Lang.Class({
     Name: 'Application',
     _init: function() {
         GLib.set_prgname('gnome-shell-extension-prefs');
@@ -253,7 +253,7 @@ const Application = new Lang.Class({
     }
 });
 
-const DescriptionLabel = new Lang.Class({
+var DescriptionLabel = new Lang.Class({
     Name: 'DescriptionLabel',
     Extends: Gtk.Label,
 
@@ -265,7 +265,7 @@ const DescriptionLabel = new Lang.Class({
     }
 });
 
-const ExtensionRow = new Lang.Class({
+var ExtensionRow = new Lang.Class({
     Name: 'ExtensionRow',
     Extends: Gtk.ListBoxRow,
 
index 4b2509ad78391a340d597f6c36b76a7aead6de5c..e22db49c3a2f73a57cedac106114c4a2c4525bab 100644 (file)
@@ -38,7 +38,7 @@ const BeginRequestType = {
     DONT_PROVIDE_USERNAME: 1
 };
 
-const AuthPrompt = new Lang.Class({
+var AuthPrompt = new Lang.Class({
     Name: 'AuthPrompt',
 
     _init: function(gdmClient, mode) {
index 1b34d63eb4fd245b60c559b96f7e1c17d58a0e52..c0193773f9354f9e9dffcc75e1c0003fb8706513 100644 (file)
@@ -47,7 +47,7 @@
 const Lang = imports.lang;
 const Signals = imports.signals;
 
-const Task = new Lang.Class({
+var Task = new Lang.Class({
     Name: 'Task',
 
     _init: function(scope, handler) {
@@ -68,7 +68,7 @@ const Task = new Lang.Class({
 });
 Signals.addSignalMethods(Task.prototype);
 
-const Hold = new Lang.Class({
+var Hold = new Lang.Class({
     Name: 'Hold',
     Extends: Task,
 
@@ -110,7 +110,7 @@ const Hold = new Lang.Class({
 });
 Signals.addSignalMethods(Hold.prototype);
 
-const Batch = new Lang.Class({
+var Batch = new Lang.Class({
     Name: 'Batch',
     Extends: Task,
 
@@ -185,7 +185,7 @@ const Batch = new Lang.Class({
 });
 Signals.addSignalMethods(Batch.prototype);
 
-const ConcurrentBatch = new Lang.Class({
+var ConcurrentBatch = new Lang.Class({
     Name: 'ConcurrentBatch',
     Extends: Batch,
 
@@ -204,7 +204,7 @@ const ConcurrentBatch = new Lang.Class({
 });
 Signals.addSignalMethods(ConcurrentBatch.prototype);
 
-const ConsecutiveBatch = new Lang.Class({
+var ConsecutiveBatch = new Lang.Class({
     Name: 'ConsecutiveBatch',
     Extends: Batch,
 
index 49cab564767c953fcc37bba16055b63023fd81af..1cae3db85a677729e5682ac7bce55ada05f5347b 100644 (file)
@@ -51,7 +51,7 @@ const _TIMED_LOGIN_IDLE_THRESHOLD = 5.0;
 const _LOGO_ICON_HEIGHT = 48;
 const _MAX_BOTTOM_MENU_ITEMS = 5;
 
-const UserListItem = new Lang.Class({
+var UserListItem = new Lang.Class({
     Name: 'UserListItem',
 
     _init: function(user) {
@@ -145,7 +145,7 @@ const UserListItem = new Lang.Class({
 });
 Signals.addSignalMethods(UserListItem.prototype);
 
-const UserList = new Lang.Class({
+var UserList = new Lang.Class({
     Name: 'UserList',
 
     _init: function() {
@@ -296,7 +296,7 @@ const UserList = new Lang.Class({
 });
 Signals.addSignalMethods(UserList.prototype);
 
-const SessionMenuButton = new Lang.Class({
+var SessionMenuButton = new Lang.Class({
     Name: 'SessionMenuButton',
 
     _init: function() {
@@ -402,7 +402,7 @@ const SessionMenuButton = new Lang.Class({
 });
 Signals.addSignalMethods(SessionMenuButton.prototype);
 
-const LoginDialog = new Lang.Class({
+var LoginDialog = new Lang.Class({
     Name: 'LoginDialog',
 
     _init: function(parentActor) {
index 33d0b9559dafdc170385c633e75285cafd965d3c..962fdf55b3037861ba25157f209e8a1e10fec55d 100644 (file)
@@ -27,7 +27,7 @@ function OVirtCredentials() {
     return self;
 }
 
-const OVirtCredentialsManager = new Lang.Class({
+var OVirtCredentialsManager = new Lang.Class({
     Name: 'OVirtCredentialsManager',
     _init: function() {
         this._token = null;
index ac83684a2eaed16bb81f449c3392efaeccf08597..e0c90edb19cb0b419ad1975e8c4951db78db2656 100644 (file)
@@ -59,7 +59,7 @@ const RealmIface = '<node> \
 </node>';
 const Realm = Gio.DBusProxy.makeProxyWrapper(RealmIface);
 
-const Manager = new Lang.Class({
+var Manager = new Lang.Class({
     Name: 'Manager',
 
     _init: function(parentActor) {
index 667bbf14a843d08baa42cd874233c2e2d73ecc74..5b1b4f3aa948cd5835f94081f767ffd6560fc346 100644 (file)
@@ -119,7 +119,7 @@ function cloneAndFadeOutActor(actor) {
     return hold;
 }
 
-const ShellUserVerifier = new Lang.Class({
+var ShellUserVerifier = new Lang.Class({
     Name: 'ShellUserVerifier',
 
     _init: function(client, params) {
index 15438c2935d08e088b75a749a6b8a6c81807b329..b8c94150af1246f61959c3281d170766bee3f95f 100644 (file)
@@ -158,7 +158,7 @@ function installImporter(extension) {
     imports.searchPath = oldSearchPath;
 }
 
-const ExtensionFinder = new Lang.Class({
+var ExtensionFinder = new Lang.Class({
     Name: 'ExtensionFinder',
 
     _loadExtension: function(extensionDir, info, perUserDir) {
index 44d21b7d6cc2e81c369b1fde1adc9ec1b37a16f2..6668bd03c342cca6f17c450bf63e35abc68b2d67 100644 (file)
@@ -7,7 +7,7 @@ const Params = imports.misc.params;
 
 const DEFAULT_LIMIT = 512;
 
-const HistoryManager = new Lang.Class({
+var HistoryManager = new Lang.Class({
     Name: 'HistoryManager',
 
     _init: function(params) {
index 8c812feb10c803faa954cdcce419bde704d64ba7..bbe2c7e1da4c61de6d2685e0496eec539ef9398f 100644 (file)
@@ -36,7 +36,7 @@ function getIBusManager() {
     return _ibusManager;
 }
 
-const IBusManager = new Lang.Class({
+var IBusManager = new Lang.Class({
     Name: 'IBusManager',
 
     // This is the longest we'll keep the keyboard frozen until an input
index 95afb4a8c0173094d140757d6d52faf07f99437c..108986bc2c08c90251894c5c0631648d6604bc90 100644 (file)
@@ -38,7 +38,7 @@ function holdKeyboard() {
     global.display.freeze_keyboard(global.get_current_time());
 }
 
-const KeyboardManager = new Lang.Class({
+var KeyboardManager = new Lang.Class({
     Name: 'KeyboardManager',
 
     // The XKB protocol doesn't allow for more that 4 layouts in a
index 3e3df3753ce1075bc9cca7342e6ba811d9ed4d71..ed390f720cc8ca3c713567732608530633917199 100644 (file)
@@ -102,7 +102,7 @@ function getLoginManager() {
     return _loginManager;
 }
 
-const LoginManagerSystemd = new Lang.Class({
+var LoginManagerSystemd = new Lang.Class({
     Name: 'LoginManagerSystemd',
 
     _init: function() {
@@ -183,7 +183,7 @@ const LoginManagerSystemd = new Lang.Class({
 });
 Signals.addSignalMethods(LoginManagerSystemd.prototype);
 
-const LoginManagerDummy = new Lang.Class({
+var LoginManagerDummy = new Lang.Class({
     Name: 'LoginManagerDummy',
 
     getCurrentSessionProxy: function(callback) {
index fb6514e6375315801f0464f65e389cda443cbe80..0e6046f9a980654ba7e629e7a7373ab4624e8ee8 100644 (file)
@@ -130,7 +130,7 @@ const ModemCdmaInterface = '<node> \
 
 const ModemCdmaProxy = Gio.DBusProxy.makeProxyWrapper(ModemCdmaInterface);
 
-const ModemGsm = new Lang.Class({
+var ModemGsm = new Lang.Class({
     Name: 'ModemGsm',
 
     _init: function(path) {
@@ -172,7 +172,7 @@ const ModemGsm = new Lang.Class({
 });
 Signals.addSignalMethods(ModemGsm.prototype);
 
-const ModemCdma = new Lang.Class({
+var ModemCdma = new Lang.Class({
     Name: 'ModemCdma',
 
     _init: function(path) {
@@ -244,7 +244,7 @@ const BroadbandModemCdmaInterface = '<node> \
 </node>';
 const BroadbandModemCdmaProxy = Gio.DBusProxy.makeProxyWrapper(BroadbandModemCdmaInterface);
 
-const BroadbandModem = new Lang.Class({
+var BroadbandModem = new Lang.Class({
     Name: 'BroadbandModem',
 
     _init: function(path, capabilities) {
index 835057f5e596af5afe588a489028f6d9310ec029..9331f5627f1c3da8fbbeed8d824e7b1dc3bafde6 100644 (file)
@@ -26,7 +26,7 @@ const ObjectManagerIface = '<node> \
 
 const ObjectManagerInfo = Gio.DBusInterfaceInfo.new_for_xml(ObjectManagerIface);
 
-const ObjectManager = new Lang.Class({
+var ObjectManager = new Lang.Class({
     Name: 'ObjectManager',
     _init: function(params) {
         params = Params.parse(params, { connection: null,
index 674efc9ad29b88c6db62606909dd4ec8d65c30d4..4388f286ddd2427b9860d278af73893b15f2b982 100644 (file)
@@ -25,7 +25,7 @@ function getSmartcardManager() {
     return _smartcardManager;
 }
 
-const SmartcardManager = new Lang.Class({
+var SmartcardManager = new Lang.Class({
     Name: 'SmartcardManager',
     _init: function() {
         this._objectManager = new ObjectManager.ObjectManager({ connection: Gio.DBus.session,
index bcf8614efe44e7c7f42ce36c6f357af2817df6cf..525491949fce782b5f02c24de34d07424e331fcf 100644 (file)
@@ -350,7 +350,7 @@ function insertSorted(array, val, cmp) {
     return pos;
 }
 
-const CloseButton = new Lang.Class({
+var CloseButton = new Lang.Class({
     Name: 'CloseButton',
     Extends: St.Button,
 
@@ -439,7 +439,7 @@ function ensureActorVisibleInScrollView(scrollView, actor) {
                        transition: 'easeOutQuad' });
 }
 
-const AppSettingsMonitor = new Lang.Class({
+var AppSettingsMonitor = new Lang.Class({
     Name: 'AppSettingsMonitor',
 
     _init: function(appId, schemaId) {
index 02c07889fcd67726533157ad1c174b7d462ff3f1..38fb5665727e1da93d03a206785b75b0cf0ac9f6 100644 (file)
@@ -13,7 +13,7 @@ const Util = imports.misc.util;
 // Minimum time between updates to show loading indication
 const UPDATE_THRESHOLD = 10 * GLib.TIME_SPAN_MINUTE;
 
-const WeatherClient = new Lang.Class({
+var WeatherClient = new Lang.Class({
     Name: 'WeatherClient',
 
     _init: function() {
index 31ae969e3c085f3aa10aa8182af46a804d87fad3..1711c09193e1ed3fe7eb577926d4d4e73ad78792 100644 (file)
@@ -50,7 +50,7 @@ const HelperDBusInterface = '<node> \
 </interface> \
 </node>';
 
-const PortalHeaderBar = new Lang.Class({
+var PortalHeaderBar = new Lang.Class({
     Name: 'PortalHeaderBar',
     Extends: Gtk.HeaderBar,
 
@@ -115,7 +115,7 @@ const PortalHeaderBar = new Lang.Class({
     },
 });
 
-const PortalWindow = new Lang.Class({
+var PortalWindow = new Lang.Class({
     Name: 'PortalWindow',
     Extends: Gtk.ApplicationWindow,
 
@@ -282,7 +282,7 @@ const PortalWindow = new Lang.Class({
     },
 });
 
-const WebPortalHelper = new Lang.Class({
+var WebPortalHelper = new Lang.Class({
     Name: 'WebPortalHelper',
     Extends: Gtk.Application,
 
index 4a5647d3f84769c91f5669006b3e2dd2f75ddc29..dc7eb8285c1c5f4eefaf7a07130cfc674c50f7dc 100644 (file)
@@ -38,7 +38,7 @@ const DialogResponse = {
     CLOSED: 2
 };
 
-const AccessDialog = new Lang.Class({
+var AccessDialog = new Lang.Class({
     Name: 'AccessDialog',
     Extends: ModalDialog.ModalDialog,
 
@@ -137,7 +137,7 @@ const AccessDialog = new Lang.Class({
     }
 });
 
-const AccessDialogDBus = new Lang.Class({
+var AccessDialogDBus = new Lang.Class({
     Name: 'AccessDialogDBus',
 
     _init: function() {
index 95306817d0f206ad017a1eb453745520621fca56..2a4d827bb8c5638005400c009df748250ebcbe33 100644 (file)
@@ -58,7 +58,7 @@ function getWindows(workspace) {
     }).filter((w, i, a) => !w.skip_taskbar && a.indexOf(w) == i);
 }
 
-const AppSwitcherPopup = new Lang.Class({
+var AppSwitcherPopup = new Lang.Class({
     Name: 'AppSwitcherPopup',
     Extends: SwitcherPopup.SwitcherPopup,
 
@@ -366,7 +366,7 @@ const AppSwitcherPopup = new Lang.Class({
     }
 });
 
-const CyclerHighlight = new Lang.Class({
+var CyclerHighlight = new Lang.Class({
     Name: 'CyclerHighlight',
 
     _init: function() {
@@ -427,7 +427,7 @@ const CyclerHighlight = new Lang.Class({
     }
 });
 
-const CyclerPopup = new Lang.Class({
+var CyclerPopup = new Lang.Class({
     Name: 'CyclerPopup',
     Extends: SwitcherPopup.SwitcherPopup,
     Abstract: true,
@@ -488,7 +488,7 @@ const CyclerPopup = new Lang.Class({
 });
 
 
-const GroupCyclerPopup = new Lang.Class({
+var GroupCyclerPopup = new Lang.Class({
     Name: 'GroupCyclerPopup',
     Extends: CyclerPopup,
 
@@ -509,7 +509,7 @@ const GroupCyclerPopup = new Lang.Class({
     }
 });
 
-const WindowSwitcherPopup = new Lang.Class({
+var WindowSwitcherPopup = new Lang.Class({
     Name: 'WindowSwitcherPopup',
     Extends: SwitcherPopup.SwitcherPopup,
 
@@ -556,7 +556,7 @@ const WindowSwitcherPopup = new Lang.Class({
     }
 });
 
-const WindowCyclerPopup = new Lang.Class({
+var WindowCyclerPopup = new Lang.Class({
     Name: 'WindowCyclerPopup',
     Extends: CyclerPopup,
 
@@ -582,7 +582,7 @@ const WindowCyclerPopup = new Lang.Class({
     }
 });
 
-const AppIcon = new Lang.Class({
+var AppIcon = new Lang.Class({
     Name: 'AppIcon',
 
     _init: function(app) {
@@ -603,7 +603,7 @@ const AppIcon = new Lang.Class({
     }
 });
 
-const AppSwitcher = new Lang.Class({
+var AppSwitcher = new Lang.Class({
     Name: 'AppSwitcher',
     Extends: SwitcherPopup.SwitcherList,
 
@@ -777,7 +777,7 @@ const AppSwitcher = new Lang.Class({
     }
 });
 
-const ThumbnailList = new Lang.Class({
+var ThumbnailList = new Lang.Class({
     Name: 'ThumbnailList',
     Extends: SwitcherPopup.SwitcherList,
 
@@ -845,7 +845,7 @@ const ThumbnailList = new Lang.Class({
     }
 });
 
-const WindowIcon = new Lang.Class({
+var WindowIcon = new Lang.Class({
     Name: 'WindowIcon',
 
     _init: function(window, mode) {
@@ -902,7 +902,7 @@ const WindowIcon = new Lang.Class({
     }
 });
 
-const WindowList = new Lang.Class({
+var WindowList = new Lang.Class({
     Name: 'WindowList',
     Extends: SwitcherPopup.SwitcherList,
 
index 1ae9ba0eab5d85ba3f1bccce7f34f7f3117d17d4..4ea8727cdf9be38ca93a18a4c6383f2f762fe2fc 100644 (file)
@@ -9,7 +9,7 @@ const Atk = imports.gi.Atk;
 
 const ANIMATED_ICON_UPDATE_TIMEOUT = 16;
 
-const Animation = new Lang.Class({
+var Animation = new Lang.Class({
     Name: 'Animation',
 
     _init: function(file, width, height, speed) {
@@ -78,7 +78,7 @@ const Animation = new Lang.Class({
     }
 });
 
-const AnimatedIcon = new Lang.Class({
+var AnimatedIcon = new Lang.Class({
     Name: 'AnimatedIcon',
     Extends: Animation,
 
index c30407545fbdc49b36d765f980233670891acdfb..611f7ea3c0bee4970d64b879e6b2b8677f90cb69 100644 (file)
@@ -108,7 +108,7 @@ function clamp(value, min, max) {
     return Math.max(min, Math.min(max, value));
 }
 
-const BaseAppView = new Lang.Class({
+var BaseAppView = new Lang.Class({
     Name: 'BaseAppView',
     Abstract: true,
 
@@ -256,7 +256,7 @@ const BaseAppView = new Lang.Class({
 });
 Signals.addSignalMethods(BaseAppView.prototype);
 
-const PageIndicatorsActor = new Lang.Class({
+var PageIndicatorsActor = new Lang.Class({
     Name:'PageIndicatorsActor',
     Extends: St.BoxLayout,
 
@@ -280,7 +280,7 @@ const PageIndicatorsActor = new Lang.Class({
     }
 });
 
-const PageIndicators = new Lang.Class({
+var PageIndicators = new Lang.Class({
     Name:'PageIndicators',
 
     _init: function() {
@@ -373,7 +373,7 @@ const PageIndicators = new Lang.Class({
 });
 Signals.addSignalMethods(PageIndicators.prototype);
 
-const AllView = new Lang.Class({
+var AllView = new Lang.Class({
     Name: 'AllView',
     Extends: BaseAppView,
 
@@ -799,7 +799,7 @@ const AllView = new Lang.Class({
 });
 Signals.addSignalMethods(AllView.prototype);
 
-const FrequentView = new Lang.Class({
+var FrequentView = new Lang.Class({
     Name: 'FrequentView',
     Extends: BaseAppView,
 
@@ -878,7 +878,7 @@ const Views = {
     ALL: 1
 };
 
-const ControlsBoxLayout = Lang.Class({
+var ControlsBoxLayout = Lang.Class({
     Name: 'ControlsBoxLayout',
     Extends: Clutter.BoxLayout,
 
@@ -903,7 +903,7 @@ const ControlsBoxLayout = Lang.Class({
     }
 });
 
-const ViewStackLayout = new Lang.Class({
+var ViewStackLayout = new Lang.Class({
     Name: 'ViewStackLayout',
     Extends: Clutter.BinLayout,
     Signals: { 'allocated-size-changed': { param_types: [GObject.TYPE_INT,
@@ -919,7 +919,7 @@ const ViewStackLayout = new Lang.Class({
     }
 });
 
-const AppDisplay = new Lang.Class({
+var AppDisplay = new Lang.Class({
     Name: 'AppDisplay',
 
     _init: function() {
@@ -1084,7 +1084,7 @@ const AppDisplay = new Lang.Class({
     }
 })
 
-const AppSearchProvider = new Lang.Class({
+var AppSearchProvider = new Lang.Class({
     Name: 'AppSearchProvider',
 
     _init: function() {
@@ -1139,7 +1139,7 @@ const AppSearchProvider = new Lang.Class({
     }
 });
 
-const FolderView = new Lang.Class({
+var FolderView = new Lang.Class({
     Name: 'FolderView',
     Extends: BaseAppView,
 
@@ -1255,7 +1255,7 @@ const FolderView = new Lang.Class({
     }
 });
 
-const FolderIcon = new Lang.Class({
+var FolderIcon = new Lang.Class({
     Name: 'FolderIcon',
 
     _init: function(id, path, parentView) {
@@ -1433,7 +1433,7 @@ const FolderIcon = new Lang.Class({
 });
 Signals.addSignalMethods(FolderIcon.prototype);
 
-const AppFolderPopup = new Lang.Class({
+var AppFolderPopup = new Lang.Class({
     Name: 'AppFolderPopup',
 
     _init: function(source, side) {
@@ -1594,7 +1594,7 @@ const AppFolderPopup = new Lang.Class({
 });
 Signals.addSignalMethods(AppFolderPopup.prototype);
 
-const AppIcon = new Lang.Class({
+var AppIcon = new Lang.Class({
     Name: 'AppIcon',
 
     _init : function(app, iconParams) {
@@ -1840,7 +1840,7 @@ const AppIcon = new Lang.Class({
 });
 Signals.addSignalMethods(AppIcon.prototype);
 
-const AppIconMenu = new Lang.Class({
+var AppIconMenu = new Lang.Class({
     Name: 'AppIconMenu',
     Extends: PopupMenu.PopupMenu,
 
index 33d66bb5b0c252c21de1edbff62e572269fc2dba..59bc745e128a4db80742377a6dd0b87ae137eba7 100644 (file)
@@ -43,7 +43,7 @@ const RENAMED_DESKTOP_IDS = {
     'totem.desktop': 'org.gnome.Totem.desktop',
 };
 
-const AppFavorites = new Lang.Class({
+var AppFavorites = new Lang.Class({
     Name: 'AppFavorites',
 
     FAVORITE_APPS_KEY: 'favorite-apps',
index c97184de975015a66adf99d01d5061c6bc390433..8bfb3c315438b5b0dbcb0c03c9a8b2ce0e193d91 100644 (file)
@@ -28,7 +28,7 @@ const AudioDeviceSelectionIface = '<node> \
 </interface> \
 </node>';
 
-const AudioDeviceSelectionDialog = new Lang.Class({
+var AudioDeviceSelectionDialog = new Lang.Class({
     Name: 'AudioDeviceSelectionDialog',
     Extends: ModalDialog.ModalDialog,
 
@@ -146,7 +146,7 @@ const AudioDeviceSelectionDialog = new Lang.Class({
     }
 });
 
-const AudioDeviceSelectionDBus = new Lang.Class({
+var AudioDeviceSelectionDBus = new Lang.Class({
     Name: 'AudioDeviceSelectionDBus',
 
     _init: function() {
index 5f4ce0d3e22500d079113cbd179ca3688a1be0b6..ec058a7f807c14c36e5cbf0327e092523af3bcda 100644 (file)
@@ -138,7 +138,7 @@ function _fileEqual0(file1, file2) {
     return file1.equal(file2);
 }
 
-const BackgroundCache = new Lang.Class({
+var BackgroundCache = new Lang.Class({
     Name: 'BackgroundCache',
 
     _init: function() {
@@ -226,7 +226,7 @@ function getBackgroundCache() {
     return _backgroundCache;
 }
 
-const Background = new Lang.Class({
+var Background = new Lang.Class({
     Name: 'Background',
 
     _init: function(params) {
@@ -488,7 +488,7 @@ Signals.addSignalMethods(Background.prototype);
 
 let _systemBackground;
 
-const SystemBackground = new Lang.Class({
+var SystemBackground = new Lang.Class({
     Name: 'SystemBackground',
 
     _init: function() {
@@ -525,7 +525,7 @@ const SystemBackground = new Lang.Class({
 });
 Signals.addSignalMethods(SystemBackground.prototype);
 
-const BackgroundSource = new Lang.Class({
+var BackgroundSource = new Lang.Class({
     Name: 'BackgroundSource',
 
     _init: function(layoutManager, settingsSchema) {
@@ -613,7 +613,7 @@ const BackgroundSource = new Lang.Class({
     }
 });
 
-const Animation = new Lang.Class({
+var Animation = new Lang.Class({
     Name: 'Animation',
 
     _init: function(params) {
@@ -661,7 +661,7 @@ const Animation = new Lang.Class({
 });
 Signals.addSignalMethods(Animation.prototype);
 
-const BackgroundManager = new Lang.Class({
+var BackgroundManager = new Lang.Class({
     Name: 'BackgroundManager',
 
     _init: function(params) {
index 6ced5177bcd31a74bfb19155ac3584c9d43a2d89..cae8f0f673cd7d13b7b97bac8c44f3b02d12a5a7 100644 (file)
@@ -9,7 +9,7 @@ const BoxPointer = imports.ui.boxpointer;
 const Main = imports.ui.main;
 const PopupMenu = imports.ui.popupMenu;
 
-const BackgroundMenu = new Lang.Class({
+var BackgroundMenu = new Lang.Class({
     Name: 'BackgroundMenu',
     Extends: PopupMenu.PopupMenu,
 
index 041884e2b3f788393dbd5fd946e7a9367b5b2090..7a77d914d4ac1bcf3cb8b100201be7ff6009f544 100644 (file)
@@ -32,7 +32,7 @@ const POPUP_ANIMATION_TIME = 0.15;
  * totally inside the monitor if possible.
  *
  */
-const BoxPointer = new Lang.Class({
+var BoxPointer = new Lang.Class({
     Name: 'BoxPointer',
 
     _init: function(arrowSide, binProperties) {
index 298807db91616e062896013ccfbb504dd3dafd21..2c4c1f9bef0c0811ca8a921902a8efa770c036a4 100644 (file)
@@ -92,7 +92,7 @@ function _getCalendarDayAbbreviation(dayNumber) {
 
 // Abstraction for an appointment/event in a calendar
 
-const CalendarEvent = new Lang.Class({
+var CalendarEvent = new Lang.Class({
     Name: 'CalendarEvent',
 
     _init: function(id, date, end, summary, allDay) {
@@ -108,7 +108,7 @@ const CalendarEvent = new Lang.Class({
 //
 
 // First, an implementation with no events
-const EmptyEventSource = new Lang.Class({
+var EmptyEventSource = new Lang.Class({
     Name: 'EmptyEventSource',
 
     _init: function() {
@@ -179,7 +179,7 @@ function _dateIntervalsOverlap(a0, a1, b0, b1)
 }
 
 // an implementation that reads data from a session bus service
-const DBusEventSource = new Lang.Class({
+var DBusEventSource = new Lang.Class({
     Name: 'DBusEventSource',
 
     _init: function() {
@@ -366,7 +366,7 @@ const DBusEventSource = new Lang.Class({
 });
 Signals.addSignalMethods(DBusEventSource.prototype);
 
-const Calendar = new Lang.Class({
+var Calendar = new Lang.Class({
     Name: 'Calendar',
 
     _init: function() {
@@ -697,7 +697,7 @@ const Calendar = new Lang.Class({
 });
 Signals.addSignalMethods(Calendar.prototype);
 
-const EventMessage = new Lang.Class({
+var EventMessage = new Lang.Class({
     Name: 'EventMessage',
     Extends: MessageList.Message,
 
@@ -754,7 +754,7 @@ const EventMessage = new Lang.Class({
     }
 });
 
-const NotificationMessage = new Lang.Class({
+var NotificationMessage = new Lang.Class({
     Name: 'NotificationMessage',
     Extends: MessageList.Message,
 
@@ -810,7 +810,7 @@ const NotificationMessage = new Lang.Class({
     }
 });
 
-const EventsSection = new Lang.Class({
+var EventsSection = new Lang.Class({
     Name: 'EventsSection',
     Extends: MessageList.MessageListSection,
 
@@ -941,7 +941,7 @@ const EventsSection = new Lang.Class({
     }
 });
 
-const NotificationSection = new Lang.Class({
+var NotificationSection = new Lang.Class({
     Name: 'NotificationSection',
     Extends: MessageList.MessageListSection,
 
@@ -1044,7 +1044,7 @@ const NotificationSection = new Lang.Class({
     }
 });
 
-const Placeholder = new Lang.Class({
+var Placeholder = new Lang.Class({
     Name: 'Placeholder',
 
     _init: function() {
@@ -1091,7 +1091,7 @@ const Placeholder = new Lang.Class({
     }
 });
 
-const CalendarMessageList = new Lang.Class({
+var CalendarMessageList = new Lang.Class({
     Name: 'CalendarMessageList',
 
     _init: function() {
index 18960dcb7bb885b2e5c9ebd5cb31c728b14b1e18..04e44b5fe2bea90f0e34d4b98a4333a2a2600c48 100644 (file)
@@ -4,7 +4,7 @@ const St = imports.gi.St;
 
 const Lang = imports.lang;
 
-const CheckBox = new Lang.Class({
+var CheckBox = new Lang.Class({
     Name: 'CheckBox',
 
     _init: function(label) {
index 942852184f760ef9d2f348d6138c67adcdd6639e..b3a570dea370cffcd5ead4262e2403df6d41e635 100644 (file)
@@ -14,7 +14,7 @@ const Tweener = imports.ui.tweener;
 const FROZEN_WINDOW_BRIGHTNESS = -0.3
 const DIALOG_TRANSITION_TIME = 0.15
 
-const CloseDialog = new Lang.Class({
+var CloseDialog = new Lang.Class({
     Name: 'CloseDialog',
     Extends: GObject.Object,
     Implements: [ Meta.CloseDialog ],
index cb370199d4a68d1f2d4ebbc9d58906fbcee90b1c..bba13bfb6e500539643725d0f78bd0a4f33f2e45 100644 (file)
@@ -2,7 +2,7 @@
 const Lang = imports.lang;
 const Main = imports.ui.main;
 
-const ComponentManager = new Lang.Class({
+var ComponentManager = new Lang.Class({
     Name: 'ComponentManager',
 
     _init: function() {
index 84dc47c5f36bb98e01e38ef20dbf25ff5386b2e0..051d260b570d4bd72a3e999dfe2e5e5f93a0ffc8 100644 (file)
@@ -19,7 +19,7 @@ const SETTING_ENABLE_AUTOMOUNT = 'automount';
 
 const AUTORUN_EXPIRE_TIMEOUT_SECS = 10;
 
-const AutomountManager = new Lang.Class({
+var AutomountManager = new Lang.Class({
     Name: 'AutomountManager',
 
     _init: function() {
index e6ea58358bc845f8b1eb68049518d7d30e4963e9..38935bfa926c29e2b61f46477a114d88787c87f6 100644 (file)
@@ -90,7 +90,7 @@ function HotplugSniffer() {
                                    '/org/gnome/Shell/HotplugSniffer');
 }
 
-const ContentTypeDiscoverer = new Lang.Class({
+var ContentTypeDiscoverer = new Lang.Class({
     Name: 'ContentTypeDiscoverer',
 
     _init: function(callback) {
@@ -159,7 +159,7 @@ const ContentTypeDiscoverer = new Lang.Class({
     }
 });
 
-const AutorunManager = new Lang.Class({
+var AutorunManager = new Lang.Class({
     Name: 'AutorunManager',
 
     _init: function() {
@@ -196,7 +196,7 @@ const AutorunManager = new Lang.Class({
     }
 });
 
-const AutorunDispatcher = new Lang.Class({
+var AutorunDispatcher = new Lang.Class({
     Name: 'AutorunDispatcher',
 
     _init: function(manager) {
@@ -292,7 +292,7 @@ const AutorunDispatcher = new Lang.Class({
     }
 });
 
-const AutorunSource = new Lang.Class({
+var AutorunSource = new Lang.Class({
     Name: 'AutorunSource',
     Extends: MessageTray.Source,
 
@@ -319,7 +319,7 @@ const AutorunSource = new Lang.Class({
     }
 });
 
-const AutorunNotification = new Lang.Class({
+var AutorunNotification = new Lang.Class({
     Name: 'AutorunNotification',
     Extends: MessageTray.Notification,
 
index d51a0a448c6eafd7ea8c03b29db6d01e643a30aa..6abd003f349dc5d8824fd2cbcab7b33b48470d73 100644 (file)
@@ -20,7 +20,7 @@ const WORK_SPINNER_ICON_SIZE = 16;
 const WORK_SPINNER_ANIMATION_DELAY = 1.0;
 const WORK_SPINNER_ANIMATION_TIME = 0.3;
 
-const KeyringDialog = new Lang.Class({
+var KeyringDialog = new Lang.Class({
     Name: 'KeyringDialog',
     Extends: ModalDialog.ModalDialog,
 
@@ -258,7 +258,7 @@ const KeyringDialog = new Lang.Class({
     },
 });
 
-const KeyringDummyDialog = new Lang.Class({
+var KeyringDummyDialog = new Lang.Class({
     Name: 'KeyringDummyDialog',
 
     _init: function() {
@@ -274,7 +274,7 @@ const KeyringDummyDialog = new Lang.Class({
     }
 });
 
-const KeyringPrompter = new Lang.Class({
+var KeyringPrompter = new Lang.Class({
     Name: 'KeyringPrompter',
 
     _init: function() {
index 6ad787a9131b8bc3ebf11f51df7932acbf9cb7c9..02c8363c267bf458b0c1d8bd6c98baaa149a4d2b 100644 (file)
@@ -21,7 +21,7 @@ const ShellEntry = imports.ui.shellEntry;
 
 const VPN_UI_GROUP = 'VPN Plugin UI';
 
-const NetworkSecretDialog = new Lang.Class({
+var NetworkSecretDialog = new Lang.Class({
     Name: 'NetworkSecretDialog',
     Extends: ModalDialog.ModalDialog,
 
@@ -329,7 +329,7 @@ const NetworkSecretDialog = new Lang.Class({
     }
 });
 
-const VPNRequestHandler = new Lang.Class({
+var VPNRequestHandler = new Lang.Class({
     Name: 'VPNRequestHandler',
 
     _init: function(agent, requestId, authHelper, serviceType, connection, hints, flags) {
@@ -575,7 +575,7 @@ const VPNRequestHandler = new Lang.Class({
     },
 });
 
-const NetworkAgent = new Lang.Class({
+var NetworkAgent = new Lang.Class({
     Name: 'NetworkAgent',
 
     _init: function() {
index cfa5355049d7acabc07946a95fc6a3769dc67b69..c7345d1386776a5c3feb349b6f3bf417d11d1eb3 100644 (file)
@@ -27,7 +27,7 @@ const WORK_SPINNER_ICON_SIZE = 16;
 const WORK_SPINNER_ANIMATION_DELAY = 1.0;
 const WORK_SPINNER_ANIMATION_TIME = 0.3;
 
-const AuthenticationDialog = new Lang.Class({
+var AuthenticationDialog = new Lang.Class({
     Name: 'AuthenticationDialog',
     Extends: ModalDialog.ModalDialog,
 
@@ -339,7 +339,7 @@ const AuthenticationDialog = new Lang.Class({
 });
 Signals.addSignalMethods(AuthenticationDialog.prototype);
 
-const AuthenticationAgent = new Lang.Class({
+var AuthenticationAgent = new Lang.Class({
     Name: 'AuthenticationAgent',
 
     _init: function() {
index e0a388be67c9c3d7d1036852b01723c0920229f3..516b10f7855d9b1a6f3327eee2b55e817d4e9c74 100644 (file)
@@ -79,7 +79,7 @@ function makeMessageFromTplEvent(event) {
     };
 }
 
-const TelepathyComponent = new Lang.Class({
+var TelepathyComponent = new Lang.Class({
     Name: 'TelepathyComponent',
 
     _init: function() {
@@ -113,7 +113,7 @@ const TelepathyComponent = new Lang.Class({
     }
 });
 
-const TelepathyClient = HAVE_TP ? new Lang.Class({
+var TelepathyClient = HAVE_TP ? new Lang.Class({
     Name: 'TelepathyClient',
     Extends: Tp.BaseClient,
 
@@ -280,7 +280,7 @@ const TelepathyClient = HAVE_TP ? new Lang.Class({
     },
 }) : null;
 
-const ChatSource = new Lang.Class({
+var ChatSource = new Lang.Class({
     Name: 'ChatSource',
     Extends: MessageTray.Source,
 
@@ -647,7 +647,7 @@ const ChatSource = new Lang.Class({
     }
 });
 
-const ChatNotification = new Lang.Class({
+var ChatNotification = new Lang.Class({
     Name: 'ChatNotification',
     Extends: MessageTray.Notification,
 
@@ -806,7 +806,7 @@ const ChatNotification = new Lang.Class({
     }
 });
 
-const ChatLineBox = new Lang.Class({
+var ChatLineBox = new Lang.Class({
     Name: 'ChatLineBox',
     Extends: St.BoxLayout,
 
@@ -816,7 +816,7 @@ const ChatLineBox = new Lang.Class({
     }
 });
 
-const ChatNotificationBanner = new Lang.Class({
+var ChatNotificationBanner = new Lang.Class({
     Name: 'ChatNotificationBanner',
     Extends: MessageTray.NotificationBanner,
 
index f847ceac82e8be7570ee2cfc98b6c5faabb262b0..d6de9de71d0b980e8f106dbe28b62569412ccd4a 100644 (file)
@@ -21,7 +21,7 @@ const SortGroup = {
     BOTTOM: 2
 };
 
-const CtrlAltTabManager = new Lang.Class({
+var CtrlAltTabManager = new Lang.Class({
     Name: 'CtrlAltTabManager',
 
     _init: function() {
@@ -136,7 +136,7 @@ const CtrlAltTabManager = new Lang.Class({
     }
 });
 
-const CtrlAltTabPopup = new Lang.Class({
+var CtrlAltTabPopup = new Lang.Class({
     Name: 'CtrlAltTabPopup',
     Extends: SwitcherPopup.SwitcherPopup,
 
@@ -167,7 +167,7 @@ const CtrlAltTabPopup = new Lang.Class({
     },
 });
 
-const CtrlAltTabSwitcher = new Lang.Class({
+var CtrlAltTabSwitcher = new Lang.Class({
     Name: 'CtrlAltTabSwitcher',
     Extends: SwitcherPopup.SwitcherList,
 
index 2252a74d894ec15e5f9664a2623059b0770ac9a8..8f728c167f77d72699cbb8eb49a1d6d24becd2bc 100644 (file)
@@ -33,7 +33,7 @@ function getAppFromSource(source) {
 
 // A container like StBin, but taking the child's scale into account
 // when requesting a size
-const DashItemContainer = new Lang.Class({
+var DashItemContainer = new Lang.Class({
     Name: 'DashItemContainer',
     Extends: St.Widget,
 
@@ -235,7 +235,7 @@ const DashItemContainer = new Lang.Class({
     }
 });
 
-const ShowAppsIcon = new Lang.Class({
+var ShowAppsIcon = new Lang.Class({
     Name: 'ShowAppsIcon',
     Extends: DashItemContainer,
 
@@ -315,7 +315,7 @@ const ShowAppsIcon = new Lang.Class({
     }
 });
 
-const DragPlaceholderItem = new Lang.Class({
+var DragPlaceholderItem = new Lang.Class({
     Name: 'DragPlaceholderItem',
     Extends: DashItemContainer,
 
@@ -325,7 +325,7 @@ const DragPlaceholderItem = new Lang.Class({
     }
 });
 
-const EmptyDropTargetItem = new Lang.Class({
+var EmptyDropTargetItem = new Lang.Class({
     Name: 'EmptyDropTargetItem',
     Extends: DashItemContainer,
 
@@ -335,7 +335,7 @@ const EmptyDropTargetItem = new Lang.Class({
     }
 });
 
-const DashActor = new Lang.Class({
+var DashActor = new Lang.Class({
     Name: 'DashActor',
     Extends: St.Widget,
 
@@ -387,7 +387,7 @@ const DashActor = new Lang.Class({
 
 const baseIconSizes = [ 16, 22, 24, 32, 48, 64 ];
 
-const Dash = new Lang.Class({
+var Dash = new Lang.Class({
     Name: 'Dash',
 
     _init : function() {
index f891ae3c256259c5b300ad8b59f929f065231523..4f9cf7085b8e5f6b7539843d8606fab14e2555ff 100644 (file)
@@ -30,7 +30,7 @@ function _isToday(date) {
            now.getDate() == date.getDate();
 }
 
-const TodayButton = new Lang.Class({
+var TodayButton = new Lang.Class({
     Name: 'TodayButton',
 
     _init: function(calendar) {
@@ -84,7 +84,7 @@ const TodayButton = new Lang.Class({
     }
 });
 
-const WorldClocksSection = new Lang.Class({
+var WorldClocksSection = new Lang.Class({
     Name: 'WorldClocksSection',
 
     _init: function() {
@@ -194,7 +194,7 @@ const WorldClocksSection = new Lang.Class({
     }
 });
 
-const WeatherSection = new Lang.Class({
+var WeatherSection = new Lang.Class({
     Name: 'WeatherSection',
 
     _init: function() {
@@ -324,7 +324,7 @@ const WeatherSection = new Lang.Class({
     }
 });
 
-const MessagesIndicator = new Lang.Class({
+var MessagesIndicator = new Lang.Class({
     Name: 'MessagesIndicator',
 
     _init: function() {
@@ -364,7 +364,7 @@ const MessagesIndicator = new Lang.Class({
     }
 });
 
-const IndicatorPad = new Lang.Class({
+var IndicatorPad = new Lang.Class({
     Name: 'IndicatorPad',
     Extends: St.Widget,
 
@@ -387,7 +387,7 @@ const IndicatorPad = new Lang.Class({
     }
 });
 
-const FreezableBinLayout = new Lang.Class({
+var FreezableBinLayout = new Lang.Class({
     Name: 'FreezableBinLayout',
     Extends: Clutter.BinLayout,
 
@@ -429,7 +429,7 @@ const FreezableBinLayout = new Lang.Class({
     }
 });
 
-const CalendarColumnLayout = new Lang.Class({
+var CalendarColumnLayout = new Lang.Class({
     Name: 'CalendarColumnLayout',
     Extends: Clutter.BoxLayout,
 
@@ -445,7 +445,7 @@ const CalendarColumnLayout = new Lang.Class({
     }
 });
 
-const DateMenuButton = new Lang.Class({
+var DateMenuButton = new Lang.Class({
     Name: 'DateMenuButton',
     Extends: PanelMenu.Button,
 
index e2668479035f2ac86b535f144322d55208ffcfa2..3fdc3ef886c64fb3ac827d849abbdb99efeb2b1f 100644 (file)
@@ -7,7 +7,7 @@ const Pango = imports.gi.Pango;
 const St = imports.gi.St;
 const Lang = imports.lang;
 
-const Dialog = new Lang.Class({
+var Dialog = new Lang.Class({
     Name: 'Dialog',
     Extends: St.Widget,
 
@@ -133,7 +133,7 @@ const Dialog = new Lang.Class({
     },
 });
 
-const MessageDialogContent = new Lang.Class({
+var MessageDialogContent = new Lang.Class({
     Name: 'MessageDialogContent',
     Extends: St.BoxLayout,
     Properties: {
index e749dd9a8121da0b0685d7b7ec47d40145d5dd93..95e9f7e4dcb87f4118b39e59e389685404963717 100644 (file)
@@ -69,7 +69,7 @@ function removeDragMonitor(monitor) {
         }
 }
 
-const _Draggable = new Lang.Class({
+var _Draggable = new Lang.Class({
     Name: 'Draggable',
 
     _init : function(actor, params) {
index 115b89cdc2c43383893b89115a1eca5f8be9fe73..085266084966a06e5a55ef6deefb99b778abdd3e 100644 (file)
@@ -11,7 +11,7 @@ const Main = imports.ui.main;
 const EDGE_THRESHOLD = 20;
 const DRAG_DISTANCE = 80;
 
-const EdgeDragAction = new Lang.Class({
+var EdgeDragAction = new Lang.Class({
     Name: 'EdgeDragAction',
     Extends: Clutter.GestureAction,
     Signals: { 'activated': {} },
index 42977d39419a34700c68737cf5292196c67fd6b6..e65ede322690b2f24c402441874a3a45f2419e2b 100644 (file)
@@ -275,7 +275,7 @@ function init() {
     _endSessionDialog = new EndSessionDialog();
 }
 
-const EndSessionDialog = new Lang.Class({
+var EndSessionDialog = new Lang.Class({
     Name: 'EndSessionDialog',
     Extends: ModalDialog.ModalDialog,
 
index 452a83a4d5687b3a19022011bb00b8e28de2c929..92611410740fc07e8c721c36f0569b57db54ff32 100644 (file)
@@ -183,7 +183,7 @@ function checkForUpdates() {
     });
 }
 
-const InstallExtensionDialog = new Lang.Class({
+var InstallExtensionDialog = new Lang.Class({
     Name: 'InstallExtensionDialog',
     Extends: ModalDialog.ModalDialog,
 
index 01660e0b836427661713fdeea93fed834e922047..c5feb518a436bee4f1e14a3b506d5aea56ce3652 100644 (file)
@@ -28,7 +28,7 @@ const Signals = imports.signals;
 const CARETMOVED        = 'object:text-caret-moved';
 const STATECHANGED      = 'object:state-changed';
 
-const FocusCaretTracker = new Lang.Class({
+var FocusCaretTracker = new Lang.Class({
     Name: 'FocusCaretTracker',
 
     _init: function() {
index a2a1cb55d790fb827e909f0153c71c9d559c3a2b..69f0a77707dc7b5ac5ae38d77576e5f2c372eb9a 100644 (file)
@@ -46,7 +46,7 @@ function _popGrabHelper(grabHelper) {
 // your code just needs to deal with it; you shouldn't adjust behavior directly
 // after you call ungrab(), but instead pass an 'onUngrab' callback when you
 // call grab().
-const GrabHelper = new Lang.Class({
+var GrabHelper = new Lang.Class({
     Name: 'GrabHelper',
 
     _init: function(owner, params) {
index 683bb3003f68397db221652d9aa2bb1a2d4b96b4..1b5c5608460c78db2a8e8214bf8d30c467f8c4de 100644 (file)
@@ -14,7 +14,7 @@ const MAX_CANDIDATES_PER_PAGE = 16;
 const DEFAULT_INDEX_LABELS = [ '1', '2', '3', '4', '5', '6', '7', '8',
                                '9', '0', 'a', 'b', 'c', 'd', 'e', 'f' ];
 
-const CandidateArea = new Lang.Class({
+var CandidateArea = new Lang.Class({
     Name: 'CandidateArea',
 
     _init: function() {
@@ -128,7 +128,7 @@ const CandidateArea = new Lang.Class({
 });
 Signals.addSignalMethods(CandidateArea.prototype);
 
-const CandidatePopup = new Lang.Class({
+var CandidatePopup = new Lang.Class({
     Name: 'CandidatePopup',
 
     _init: function() {
index 875450191b6936cd5bb41a4a5b0e28281bce9eea..b72c6e20979202308b4156ecd3fbbc82bac384b2 100644 (file)
@@ -34,7 +34,7 @@ const AnimationDirection = {
 const APPICON_ANIMATION_OUT_SCALE = 3;
 const APPICON_ANIMATION_OUT_TIME = 0.25;
 
-const BaseIcon = new Lang.Class({
+var BaseIcon = new Lang.Class({
     Name: 'BaseIcon',
 
     _init : function(label, params) {
@@ -240,7 +240,7 @@ function zoomOutActor(actor) {
                     });
 }
 
-const IconGrid = new Lang.Class({
+var IconGrid = new Lang.Class({
     Name: 'IconGrid',
 
     _init: function(params) {
@@ -790,7 +790,7 @@ const IconGrid = new Lang.Class({
 });
 Signals.addSignalMethods(IconGrid.prototype);
 
-const PaginatedIconGrid = new Lang.Class({
+var PaginatedIconGrid = new Lang.Class({
     Name: 'PaginatedIconGrid',
     Extends: IconGrid,
 
index 67ba8b88b0b444eb3a9c07bd8fdc5a87371c631c..e00d44d37bac15736473f10770a8d06f04e08f9a 100644 (file)
@@ -27,7 +27,7 @@ const KEYBOARD_TYPE = 'keyboard-type';
 const A11Y_APPLICATIONS_SCHEMA = 'org.gnome.desktop.a11y.applications';
 const SHOW_KEYBOARD = 'screen-keyboard-enabled';
 
-const Key = new Lang.Class({
+var Key = new Lang.Class({
     Name: 'Key',
 
     _init : function(key) {
@@ -153,7 +153,7 @@ const Key = new Lang.Class({
 });
 Signals.addSignalMethods(Key.prototype);
 
-const Keyboard = new Lang.Class({
+var Keyboard = new Lang.Class({
     Name: 'Keyboard',
 
     _init: function () {
@@ -731,7 +731,7 @@ const Keyboard = new Lang.Class({
     },
 });
 
-const KeyboardSource = new Lang.Class({
+var KeyboardSource = new Lang.Class({
     Name: 'KeyboardSource',
     Extends: MessageTray.Source,
 
@@ -752,7 +752,7 @@ const KeyboardSource = new Lang.Class({
     }
 });
 
-const LocalAdapter = new Lang.Class({
+var LocalAdapter = new Lang.Class({
     Name: 'LocalAdapter',
     Extends: Caribou.XAdapter,
 
index ebf09c24b4e5a233fb3b7af6a2530364843ac266..b44c5ea5d2d9ac5da17d030551f8dc7fab8d59b4 100644 (file)
@@ -36,7 +36,7 @@ function isPopupMetaWindow(actor) {
     }
 }
 
-const MonitorConstraint = new Lang.Class({
+var MonitorConstraint = new Lang.Class({
     Name: 'MonitorConstraint',
     Extends: Clutter.Constraint,
     Properties: {'primary': GObject.ParamSpec.boolean('primary', 
@@ -147,7 +147,7 @@ const MonitorConstraint = new Lang.Class({
     }
 });
 
-const Monitor = new Lang.Class({
+var Monitor = new Lang.Class({
     Name: 'Monitor',
 
     _init: function(index, geometry) {
@@ -169,7 +169,7 @@ const defaultParams = {
     affectsInputRegion: true
 };
 
-const LayoutManager = new Lang.Class({
+var LayoutManager = new Lang.Class({
     Name: 'LayoutManager',
 
     _init: function () {
@@ -1045,7 +1045,7 @@ Signals.addSignalMethods(LayoutManager.prototype);
 //
 // This class manages a "hot corner" that can toggle switching to
 // overview.
-const HotCorner = new Lang.Class({
+var HotCorner = new Lang.Class({
     Name: 'HotCorner',
 
     _init : function(layoutManager, monitor, x, y) {
@@ -1239,7 +1239,7 @@ const HotCorner = new Lang.Class({
     }
 });
 
-const PressureBarrier = new Lang.Class({
+var PressureBarrier = new Lang.Class({
     Name: 'PressureBarrier',
 
     _init: function(threshold, timeout, actionMode) {
index 4fc2f0fbecb41dce1210c74f2f7f33de71ee7db8..f76615ef896b9faaebb14040b812bdd37930efeb 100644 (file)
@@ -36,7 +36,7 @@ const TEMP_REVEAL_TIME = 2;
 const BARRIER_THRESHOLD = 70;
 const BARRIER_TIMEOUT = 1000;
 
-const LegacyTray = new Lang.Class({
+var LegacyTray = new Lang.Class({
     Name: 'LegacyTray',
 
     _init: function() {
index 2188b23b3e048af09a823758e33ce88c8f2492f0..41956b77b56226a7257f19b65fa8b4eaec96a9ab 100644 (file)
@@ -27,7 +27,7 @@ t = clamp(t, 0.0, 1.0);\n\
 float pixel_brightness = mix(1.0, 1.0 - vignette_sharpness, t);\n\
 cogl_color_out.a = cogl_color_out.a * (1 - pixel_brightness * brightness);';
 
-const RadialShaderQuad = new Lang.Class({
+var RadialShaderQuad = new Lang.Class({
     Name: 'RadialShaderQuad',
     Extends: Shell.GLSLQuad,
 
@@ -91,7 +91,7 @@ const RadialShaderQuad = new Lang.Class({
  * @container and will track any changes in its size. You can override
  * this by passing an explicit width and height in @params.
  */
-const Lightbox = new Lang.Class({
+var Lightbox = new Lang.Class({
     Name: 'Lightbox',
 
     _init : function(container, params) {
index ad33290bfe482c9fdbb52d0b025cb85fd7a3a8a7..292dc96191955b64285391a9127c404387d2d6f1 100644 (file)
@@ -59,7 +59,7 @@ function _getAutoCompleteGlobalKeywords() {
     return keywords.concat(windowProperties).concat(headerProperties);
 }
 
-const AutoComplete = new Lang.Class({
+var AutoComplete = new Lang.Class({
     Name: 'AutoComplete',
 
     _init: function(entry) {
@@ -125,7 +125,7 @@ const AutoComplete = new Lang.Class({
 Signals.addSignalMethods(AutoComplete.prototype);
 
 
-const Notebook = new Lang.Class({
+var Notebook = new Lang.Class({
     Name: 'Notebook',
 
     _init: function() {
@@ -263,7 +263,7 @@ function objectToString(o) {
     }
 }
 
-const ObjLink = new Lang.Class({
+var ObjLink = new Lang.Class({
     Name: 'ObjLink',
 
     _init: function(lookingGlass, o, title) {
@@ -290,7 +290,7 @@ const ObjLink = new Lang.Class({
     }
 });
 
-const Result = new Lang.Class({
+var Result = new Lang.Class({
     Name: 'Result',
 
     _init: function(lookingGlass, command, o, index) {
@@ -313,7 +313,7 @@ const Result = new Lang.Class({
     }
 });
 
-const WindowList = new Lang.Class({
+var WindowList = new Lang.Class({
     Name: 'WindowList',
 
     _init: function(lookingGlass) {
@@ -361,7 +361,7 @@ const WindowList = new Lang.Class({
 });
 Signals.addSignalMethods(WindowList.prototype);
 
-const ObjInspector = new Lang.Class({
+var ObjInspector = new Lang.Class({
     Name: 'ObjInspector',
 
     _init: function(lookingGlass) {
@@ -471,7 +471,7 @@ const ObjInspector = new Lang.Class({
     }
 });
 
-const RedBorderEffect = new Lang.Class({
+var RedBorderEffect = new Lang.Class({
     Name: 'RedBorderEffect',
     Extends: Clutter.Effect,
 
@@ -497,7 +497,7 @@ const RedBorderEffect = new Lang.Class({
     },
 });
 
-const Inspector = new Lang.Class({
+var Inspector = new Lang.Class({
     Name: 'Inspector',
 
     _init: function(lookingGlass) {
@@ -631,7 +631,7 @@ const Inspector = new Lang.Class({
 
 Signals.addSignalMethods(Inspector.prototype);
 
-const Extensions = new Lang.Class({
+var Extensions = new Lang.Class({
     Name: 'Extensions',
 
     _init: function(lookingGlass) {
@@ -774,7 +774,7 @@ const Extensions = new Lang.Class({
     }
 });
 
-const LookingGlass = new Lang.Class({
+var LookingGlass = new Lang.Class({
     Name: 'LookingGlass',
 
     _init : function() {
index 6438c64c3685e2e7ae7ebd795557d36b9bec551c..39a0822469e8987fb83f42b949041d48410e43bd 100644 (file)
@@ -54,7 +54,7 @@ const CROSS_HAIRS_CLIP_KEY      = 'cross-hairs-clip';
 
 let magDBusService = null;
 
-const Magnifier = new Lang.Class({
+var Magnifier = new Lang.Class({
     Name: 'Magnifier',
 
     _init: function() {
@@ -672,7 +672,7 @@ const Magnifier = new Lang.Class({
 });
 Signals.addSignalMethods(Magnifier.prototype);
 
-const ZoomRegion = new Lang.Class({
+var ZoomRegion = new Lang.Class({
     Name: 'ZoomRegion',
 
     _init: function(magnifier, mouseSourceActor) {
@@ -1536,7 +1536,7 @@ const ZoomRegion = new Lang.Class({
     }
 });
 
-const Crosshairs = new Lang.Class({
+var Crosshairs = new Lang.Class({
     Name: 'Crosshairs',
 
     _init: function() {
@@ -1781,7 +1781,7 @@ const Crosshairs = new Lang.Class({
     }
 });
 
-const MagShaderEffects = new Lang.Class({
+var MagShaderEffects = new Lang.Class({
     Name: 'MagShaderEffects',
 
     _init: function(uiGroupClone) {
index e508d79d71fc7d6b8a2ed49e6fab4f04f6a1a054..5860eb52be1a0e3db069f46cf94dbcaf0117c21f 100644 (file)
@@ -98,7 +98,7 @@ const ZoomRegionIface = '<node> \
 // '/org/gnome/Magnifier/ZoomRegion/zoomer1', etc.
 let _zoomRegionInstanceCount = 0;
 
-const ShellMagnifier = new Lang.Class({
+var ShellMagnifier = new Lang.Class({
     Name: 'ShellMagnifier',
 
     _init: function() {
@@ -334,7 +334,7 @@ const ShellMagnifier = new Lang.Class({
  * @zoomerObjectPath:   String that is the path to a DBus ZoomRegion.
  * @zoomRegion:         The actual zoom region associated with the object path.
  */
-const ShellMagnifierZoomRegion = new Lang.Class({
+var ShellMagnifierZoomRegion = new Lang.Class({
     Name: 'ShellMagnifierZoomRegion',
 
     _init: function(zoomerObjectPath, zoomRegion) {
index 5af25ec11bb46215db5632f7698ad3a7ff0829a9..9f71b30ec79c5147df5b741fcd3c0124a342322c 100644 (file)
@@ -669,7 +669,7 @@ function queueDeferredWork(workId) {
     }
 }
 
-const RestartMessage = new Lang.Class({
+var RestartMessage = new Lang.Class({
     Name: 'RestartMessage',
     Extends: ModalDialog.ModalDialog,
 
index 99fd09fd9ea30bb7d1ad7c71c6b8b30344989a5c..1c783aebab8893370a8176d072f23622fbfe30d0 100644 (file)
@@ -39,7 +39,7 @@ function _fixMarkup(text, allowMarkup) {
     return GLib.markup_escape_text(text, -1);
 }
 
-const URLHighlighter = new Lang.Class({
+var URLHighlighter = new Lang.Class({
     Name: 'URLHighlighter',
 
     _init: function(text, lineWrap, allowMarkup) {
@@ -161,7 +161,7 @@ const URLHighlighter = new Lang.Class({
     }
 });
 
-const ScaleLayout = new Lang.Class({
+var ScaleLayout = new Lang.Class({
     Name: 'ScaleLayout',
     Extends: Clutter.BinLayout,
 
@@ -208,7 +208,7 @@ const ScaleLayout = new Lang.Class({
     }
 });
 
-const LabelExpanderLayout = new Lang.Class({
+var LabelExpanderLayout = new Lang.Class({
     Name: 'LabelExpanderLayout',
     Extends: Clutter.LayoutManager,
     Properties: { 'expansion': GObject.ParamSpec.double('expansion',
@@ -298,7 +298,7 @@ const LabelExpanderLayout = new Lang.Class({
     }
 });
 
-const Message = new Lang.Class({
+var Message = new Lang.Class({
     Name: 'Message',
 
     _init: function(title, body) {
@@ -524,7 +524,7 @@ const Message = new Lang.Class({
 });
 Signals.addSignalMethods(Message.prototype);
 
-const MessageListSection = new Lang.Class({
+var MessageListSection = new Lang.Class({
     Name: 'MessageListSection',
 
     _init: function() {
index 80c0dee588518a98440f341bc0ad8b226cad2b95..cadd1c425857787716c1d0e620d380931a2f290a 100644 (file)
@@ -69,7 +69,7 @@ const Urgency = {
     CRITICAL: 3
 };
 
-const FocusGrabber = new Lang.Class({
+var FocusGrabber = new Lang.Class({
     Name: 'FocusGrabber',
 
     _init: function(actor) {
@@ -132,7 +132,7 @@ const FocusGrabber = new Lang.Class({
 // source, such as whether to play sound or honour the critical bit.
 //
 // A notification without a policy object will inherit the default one.
-const NotificationPolicy = new Lang.Class({
+var NotificationPolicy = new Lang.Class({
     Name: 'NotificationPolicy',
 
     _init: function(params) {
@@ -153,7 +153,7 @@ const NotificationPolicy = new Lang.Class({
 });
 Signals.addSignalMethods(NotificationPolicy.prototype);
 
-const NotificationGenericPolicy = new Lang.Class({
+var NotificationGenericPolicy = new Lang.Class({
     Name: 'NotificationGenericPolicy',
     Extends: NotificationPolicy,
 
@@ -202,7 +202,7 @@ const NotificationGenericPolicy = new Lang.Class({
     }
 });
 
-const NotificationApplicationPolicy = new Lang.Class({
+var NotificationApplicationPolicy = new Lang.Class({
     Name: 'NotificationApplicationPolicy',
     Extends: NotificationPolicy,
 
@@ -328,7 +328,7 @@ const NotificationApplicationPolicy = new Lang.Class({
 // If @params contains 'soundName' or 'soundFile', the corresponding
 // event sound is played when the notification is shown (if the policy for
 // @source allows playing sounds).
-const Notification = new Lang.Class({
+var Notification = new Lang.Class({
     Name: 'Notification',
 
     _init: function(source, title, banner, params) {
@@ -489,7 +489,7 @@ const Notification = new Lang.Class({
 });
 Signals.addSignalMethods(Notification.prototype);
 
-const NotificationBanner = new Lang.Class({
+var NotificationBanner = new Lang.Class({
     Name: 'NotificationBanner',
     Extends: Calendar.NotificationMessage,
 
@@ -585,7 +585,7 @@ const NotificationBanner = new Lang.Class({
     }
 });
 
-const SourceActor = new Lang.Class({
+var SourceActor = new Lang.Class({
     Name: 'SourceActor',
 
     _init: function(source, size) {
@@ -642,7 +642,7 @@ const SourceActor = new Lang.Class({
     }
 });
 
-const SourceActorWithLabel = new Lang.Class({
+var SourceActorWithLabel = new Lang.Class({
     Name: 'SourceActorWithLabel',
     Extends: SourceActor,
 
@@ -715,7 +715,7 @@ const SourceActorWithLabel = new Lang.Class({
     }
 });
 
-const Source = new Lang.Class({
+var Source = new Lang.Class({
     Name: 'MessageTraySource',
 
     SOURCE_ICON_SIZE: 48,
@@ -840,7 +840,7 @@ const Source = new Lang.Class({
 });
 Signals.addSignalMethods(Source.prototype);
 
-const MessageTray = new Lang.Class({
+var MessageTray = new Lang.Class({
     Name: 'MessageTray',
 
     _init: function() {
@@ -1485,7 +1485,7 @@ const MessageTray = new Lang.Class({
 });
 Signals.addSignalMethods(MessageTray.prototype);
 
-const SystemNotificationSource = new Lang.Class({
+var SystemNotificationSource = new Lang.Class({
     Name: 'SystemNotificationSource',
     Extends: Source,
 
index ed1b92f9d4db570142fdcdb348449358a03fd54e..acb200c5a698be4b1378f48715a96d098126349b 100644 (file)
@@ -31,7 +31,7 @@ const State = {
     FADED_OUT: 4
 };
 
-const ModalDialog = new Lang.Class({
+var ModalDialog = new Lang.Class({
     Name: 'ModalDialog',
 
     _init: function(params) {
index a5ca66f4d827fd290d8a0a86954e31ebea06431c..7a858d30107cff4a361434dec9819500591dd3eb 100644 (file)
@@ -47,7 +47,7 @@ const MprisPlayerProxy = Gio.DBusProxy.makeProxyWrapper(MprisPlayerIface);
 
 const MPRIS_PLAYER_PREFIX = 'org.mpris.MediaPlayer2.';
 
-const MediaMessage = new Lang.Class({
+var MediaMessage = new Lang.Class({
     Name: 'MediaMessage',
     Extends: MessageList.Message,
 
@@ -111,7 +111,7 @@ const MediaMessage = new Lang.Class({
     }
 });
 
-const MprisPlayer = new Lang.Class({
+var MprisPlayer = new Lang.Class({
     Name: 'MprisPlayer',
 
     _init: function(busName) {
@@ -226,7 +226,7 @@ const MprisPlayer = new Lang.Class({
 });
 Signals.addSignalMethods(MprisPlayer.prototype);
 
-const MediaSection = new Lang.Class({
+var MediaSection = new Lang.Class({
     Name: 'MediaSection',
     Extends: MessageList.MessageListSection,
 
index c8cba607b8fcb22874fb21441659bf919d7d7608..31f64b22b6128e76177afa5fbe60803e2f42ffb9 100644 (file)
@@ -91,7 +91,7 @@ const rewriteRules = {
     ]
 };
 
-const FdoNotificationDaemon = new Lang.Class({
+var FdoNotificationDaemon = new Lang.Class({
     Name: 'FdoNotificationDaemon',
 
     _init: function() {
@@ -459,7 +459,7 @@ const FdoNotificationDaemon = new Lang.Class({
     }
 });
 
-const FdoNotificationDaemonSource = new Lang.Class({
+var FdoNotificationDaemonSource = new Lang.Class({
     Name: 'FdoNotificationDaemonSource',
     Extends: MessageTray.Source,
 
@@ -586,7 +586,7 @@ const PRIORITY_URGENCY_MAP = {
     urgent: MessageTray.Urgency.CRITICAL
 };
 
-const GtkNotificationDaemonNotification = new Lang.Class({
+var GtkNotificationDaemonNotification = new Lang.Class({
     Name: 'GtkNotificationDaemonNotification',
     Extends: MessageTray.Notification,
 
@@ -680,7 +680,7 @@ function getPlatformData() {
 
 function InvalidAppError() {}
 
-const GtkNotificationDaemonAppSource = new Lang.Class({
+var GtkNotificationDaemonAppSource = new Lang.Class({
     Name: 'GtkNotificationDaemonAppSource',
     Extends: MessageTray.Source,
 
@@ -787,7 +787,7 @@ const GtkNotificationsIface = '<node> \
 </interface> \
 </node>';
 
-const GtkNotificationDaemon = new Lang.Class({
+var GtkNotificationDaemon = new Lang.Class({
     Name: 'GtkNotificationDaemon',
 
     _init: function() {
@@ -885,7 +885,7 @@ const GtkNotificationDaemon = new Lang.Class({
     },
 });
 
-const NotificationDaemon = new Lang.Class({
+var NotificationDaemon = new Lang.Class({
     Name: 'NotificationDaemon',
 
     _init: function() {
index 83a79278d70c97d4f580ff5e0d57f72fc9b2ca79..92e076abb55c003376704766b0122bdf6c6dd832 100644 (file)
@@ -11,7 +11,7 @@ const Meta = imports.gi.Meta;
 
 const FADE_TIME = 0.1;
 
-const OsdMonitorLabel = new Lang.Class({
+var OsdMonitorLabel = new Lang.Class({
     Name: 'OsdMonitorLabel',
 
     _init: function(monitor, label) {
@@ -52,7 +52,7 @@ const OsdMonitorLabel = new Lang.Class({
     }
 });
 
-const OsdMonitorLabeler = new Lang.Class({
+var OsdMonitorLabeler = new Lang.Class({
     Name: 'OsdMonitorLabeler',
 
     _init: function() {
index 4c2b00b22fb72cbef26b54ac15096ff3a06d986d..29afad44f2eb5637c439a2e86d4ec9ba04e68285 100644 (file)
@@ -15,7 +15,7 @@ const HIDE_TIMEOUT = 1500;
 const FADE_TIME = 0.1;
 const LEVEL_ANIMATION_TIME = 0.1;
 
-const LevelBar = new Lang.Class({
+var LevelBar = new Lang.Class({
     Name: 'LevelBar',
 
     _init: function() {
@@ -45,7 +45,7 @@ const LevelBar = new Lang.Class({
     }
 });
 
-const OsdWindowConstraint = new Lang.Class({
+var OsdWindowConstraint = new Lang.Class({
     Name: 'OsdWindowConstraint',
     Extends: Clutter.Constraint,
 
@@ -77,7 +77,7 @@ const OsdWindowConstraint = new Lang.Class({
     }
 });
 
-const OsdWindow = new Lang.Class({
+var OsdWindow = new Lang.Class({
     Name: 'OsdWindow',
 
     _init: function(monitorIndex) {
@@ -209,7 +209,7 @@ const OsdWindow = new Lang.Class({
     }
 });
 
-const OsdWindowManager = new Lang.Class({
+var OsdWindowManager = new Lang.Class({
     Name: 'OsdWindowManager',
 
     _init: function() {
index 04a92b57061ba109512b10edd3e671861782a28f..f763bef4c71eed3bed2705390b122ed14aabee9c 100644 (file)
@@ -35,7 +35,7 @@ const DND_WINDOW_SWITCH_TIMEOUT = 750;
 
 const OVERVIEW_ACTIVATION_TIMEOUT = 0.5;
 
-const ShellInfo = new Lang.Class({
+var ShellInfo = new Lang.Class({
     Name: 'ShellInfo',
 
     _init: function() {
@@ -87,7 +87,7 @@ const ShellInfo = new Lang.Class({
     }
 });
 
-const Overview = new Lang.Class({
+var Overview = new Lang.Class({
     Name: 'Overview',
 
     _init: function() {
index 71114643b2cd99514b753313cc40ed57a53efb65..c243e426193ce50ba768205b729ca25262db0275 100644 (file)
@@ -30,7 +30,7 @@ const SlideDirection = {
     RIGHT: 1
 };
 
-const SlideLayout = new Lang.Class({
+var SlideLayout = new Lang.Class({
     Name: 'SlideLayout',
     Extends: Clutter.FixedLayout,
 
@@ -104,7 +104,7 @@ const SlideLayout = new Lang.Class({
     },
 });
 
-const SlidingControl = new Lang.Class({
+var SlidingControl = new Lang.Class({
     Name: 'SlidingControl',
 
     _init: function(params) {
@@ -238,7 +238,7 @@ const SlidingControl = new Lang.Class({
     }
 });
 
-const ThumbnailsSlider = new Lang.Class({
+var ThumbnailsSlider = new Lang.Class({
     Name: 'ThumbnailsSlider',
     Extends: SlidingControl,
 
@@ -314,7 +314,7 @@ const ThumbnailsSlider = new Lang.Class({
     }
 });
 
-const DashSlider = new Lang.Class({
+var DashSlider = new Lang.Class({
     Name: 'DashSlider',
     Extends: SlidingControl,
 
@@ -353,7 +353,7 @@ const DashSlider = new Lang.Class({
     }
 });
 
-const DashSpacer = new Lang.Class({
+var DashSpacer = new Lang.Class({
     Name: 'DashSpacer',
     Extends: St.Widget,
 
@@ -391,7 +391,7 @@ const DashSpacer = new Lang.Class({
     }
 });
 
-const ControlsLayout = new Lang.Class({
+var ControlsLayout = new Lang.Class({
     Name: 'ControlsLayout',
     Extends: Clutter.BinLayout,
     Signals: { 'allocation-changed': { flags: GObject.SignalFlags.RUN_LAST } },
@@ -402,7 +402,7 @@ const ControlsLayout = new Lang.Class({
     }
 });
 
-const ControlsManager = new Lang.Class({
+var ControlsManager = new Lang.Class({
     Name: 'ControlsManager',
 
     _init: function(searchEntry) {
index fc0ad45de0970fd66e8181fe552b35830d78b69f..fb7ee6618597edc21ec8a543ef5f6bcb0c975912 100644 (file)
@@ -30,7 +30,7 @@ const CCW = 1;
 const UP = 0;
 const DOWN = 1;
 
-const PadChooser = new Lang.Class({
+var PadChooser = new Lang.Class({
     Name: 'PadChooser',
 
     _init: function (device, groupDevices) {
@@ -96,7 +96,7 @@ const PadChooser = new Lang.Class({
 });
 Signals.addSignalMethods(PadChooser.prototype);
 
-const KeybindingEntry = new Lang.Class({
+var KeybindingEntry = new Lang.Class({
     Name: 'KeybindingEntry',
 
     _init: function () {
@@ -120,7 +120,7 @@ const KeybindingEntry = new Lang.Class({
 });
 Signals.addSignalMethods(KeybindingEntry.prototype);
 
-const ActionComboBox = new Lang.Class({
+var ActionComboBox = new Lang.Class({
     Name: 'ActionComboBox',
 
     _init: function () {
@@ -200,7 +200,7 @@ const ActionComboBox = new Lang.Class({
 });
 Signals.addSignalMethods(ActionComboBox.prototype);
 
-const ActionEditor = new Lang.Class({
+var ActionEditor = new Lang.Class({
     Name: 'ActionEditor',
 
     _init: function () {
@@ -285,7 +285,7 @@ const ActionEditor = new Lang.Class({
 });
 Signals.addSignalMethods(ActionEditor.prototype);
 
-const PadDiagram = new Lang.Class({
+var PadDiagram = new Lang.Class({
     Name: 'PadDiagram',
     Extends: St.DrawingArea,
     Properties: { 'left-handed': GObject.ParamSpec.boolean('left-handed',
@@ -619,7 +619,7 @@ const PadDiagram = new Lang.Class({
     }
 });
 
-const PadOsd = new Lang.Class({
+var PadOsd = new Lang.Class({
     Name: 'PadOsd',
 
     _init: function (padDevice, settings, imagePath, editionMode, monitorIndex) {
@@ -961,7 +961,7 @@ const PadOsdIface = '<node> \
 </interface> \
 </node>';
 
-const PadOsdService = new Lang.Class({
+var PadOsdService = new Lang.Class({
     Name: 'PadOsdService',
 
     _init: function() {
index d9df2618a257ae27b7f06f5293bd2a0903a0f13e..4220ff9c05aea5f9ce25f746c8efe5721d8556cf 100644 (file)
@@ -83,7 +83,7 @@ function _unpremultiply(color) {
  * this menu also handles startup notification for it.  So when we
  * have an active startup notification, we switch modes to display that.
  */
-const AppMenuButton = new Lang.Class({
+var AppMenuButton = new Lang.Class({
     Name: 'AppMenuButton',
     Extends: PanelMenu.Button,
 
@@ -399,7 +399,7 @@ const AppMenuButton = new Lang.Class({
 
 Signals.addSignalMethods(AppMenuButton.prototype);
 
-const ActivitiesButton = new Lang.Class({
+var ActivitiesButton = new Lang.Class({
     Name: 'ActivitiesButton',
     Extends: PanelMenu.Button,
 
@@ -487,7 +487,7 @@ const ActivitiesButton = new Lang.Class({
     }
 });
 
-const PanelCorner = new Lang.Class({
+var PanelCorner = new Lang.Class({
     Name: 'PanelCorner',
 
     _init: function(side) {
@@ -654,7 +654,7 @@ const PanelCorner = new Lang.Class({
     }
 });
 
-const AggregateLayout = new Lang.Class({
+var AggregateLayout = new Lang.Class({
     Name: 'AggregateLayout',
     Extends: Clutter.BoxLayout,
 
@@ -687,7 +687,7 @@ const AggregateLayout = new Lang.Class({
     }
 });
 
-const AggregateMenu = new Lang.Class({
+var AggregateMenu = new Lang.Class({
     Name: 'AggregateMenu',
     Extends: PanelMenu.Button,
 
@@ -767,7 +767,7 @@ const PANEL_ITEM_IMPLEMENTATIONS = {
     'keyboard': imports.ui.status.keyboard.InputSourceIndicator,
 };
 
-const Panel = new Lang.Class({
+var Panel = new Lang.Class({
     Name: 'Panel',
 
     _init : function() {
index 662287ef24a4d41f186deb47e6551602e5604023..5b76f2974aa6d86828c7213b8d851aa4df890502 100644 (file)
@@ -13,7 +13,7 @@ const Main = imports.ui.main;
 const Params = imports.misc.params;
 const PopupMenu = imports.ui.popupMenu;
 
-const ButtonBox = new Lang.Class({
+var ButtonBox = new Lang.Class({
     Name: 'ButtonBox',
 
     _init: function(params) {
@@ -89,7 +89,7 @@ const ButtonBox = new Lang.Class({
     },
 });
 
-const Button = new Lang.Class({
+var Button = new Lang.Class({
     Name: 'PanelMenuButton',
     Extends: ButtonBox,
 
@@ -203,7 +203,7 @@ Signals.addSignalMethods(Button.prototype);
  * of an icon and a menu section, which will be composed into the
  * aggregate menu.
  */
-const SystemIndicator = new Lang.Class({
+var SystemIndicator = new Lang.Class({
     Name: 'SystemIndicator',
 
     _init: function() {
index c59d7412861655393e1a4b3b04c8f77943e8b68c..fb2dac6380f529a30f17ad4ac34c8511401339bb 100644 (file)
@@ -22,7 +22,7 @@ function getPointerWatcher() {
     return _pointerWatcher;
 }
 
-const PointerWatch = new Lang.Class({
+var PointerWatch = new Lang.Class({
     Name: 'PointerWatch',
 
     _init: function(watcher, interval, callback) {
@@ -39,7 +39,7 @@ const PointerWatch = new Lang.Class({
     }
 });
 
-const PointerWatcher = new Lang.Class({
+var PointerWatcher = new Lang.Class({
     Name: 'PointerWatcher',
 
     _init: function() {
index fbe409ee2505fb0db65aaf7f4903ae3ef9e077c5..ffc4a54b1838f6a1881833753551740019948ea6 100644 (file)
@@ -58,7 +58,7 @@ function arrowIcon(side) {
     return arrow;
 }
 
-const PopupBaseMenuItem = new Lang.Class({
+var PopupBaseMenuItem = new Lang.Class({
     Name: 'PopupBaseMenuItem',
 
     _init: function (params) {
@@ -236,7 +236,7 @@ const PopupBaseMenuItem = new Lang.Class({
 });
 Signals.addSignalMethods(PopupBaseMenuItem.prototype);
 
-const PopupMenuItem = new Lang.Class({
+var PopupMenuItem = new Lang.Class({
     Name: 'PopupMenuItem',
     Extends: PopupBaseMenuItem,
 
@@ -249,7 +249,7 @@ const PopupMenuItem = new Lang.Class({
     }
 });
 
-const PopupSeparatorMenuItem = new Lang.Class({
+var PopupSeparatorMenuItem = new Lang.Class({
     Name: 'PopupSeparatorMenuItem',
     Extends: PopupBaseMenuItem,
 
@@ -276,7 +276,7 @@ const PopupSeparatorMenuItem = new Lang.Class({
     }
 });
 
-const Switch = new Lang.Class({
+var Switch = new Lang.Class({
     Name: 'Switch',
 
     _init: function(state) {
@@ -305,7 +305,7 @@ const Switch = new Lang.Class({
     }
 });
 
-const PopupSwitchMenuItem = new Lang.Class({
+var PopupSwitchMenuItem = new Lang.Class({
     Name: 'PopupSwitchMenuItem',
     Extends: PopupBaseMenuItem,
 
@@ -387,7 +387,7 @@ const PopupSwitchMenuItem = new Lang.Class({
     }
 });
 
-const PopupImageMenuItem = new Lang.Class({
+var PopupImageMenuItem = new Lang.Class({
     Name: 'PopupImageMenuItem',
     Extends: PopupBaseMenuItem,
 
@@ -412,7 +412,7 @@ const PopupImageMenuItem = new Lang.Class({
     }
 });
 
-const PopupMenuBase = new Lang.Class({
+var PopupMenuBase = new Lang.Class({
     Name: 'PopupMenuBase',
     Abstract: true,
 
@@ -757,7 +757,7 @@ const PopupMenuBase = new Lang.Class({
 });
 Signals.addSignalMethods(PopupMenuBase.prototype);
 
-const PopupMenu = new Lang.Class({
+var PopupMenu = new Lang.Class({
     Name: 'PopupMenu',
     Extends: PopupMenuBase,
 
@@ -893,7 +893,7 @@ const PopupMenu = new Lang.Class({
     }
 });
 
-const PopupDummyMenu = new Lang.Class({
+var PopupDummyMenu = new Lang.Class({
     Name: 'PopupDummyMenu',
 
     _init: function(sourceActor) {
@@ -915,7 +915,7 @@ const PopupDummyMenu = new Lang.Class({
 });
 Signals.addSignalMethods(PopupDummyMenu.prototype);
 
-const PopupSubMenu = new Lang.Class({
+var PopupSubMenu = new Lang.Class({
     Name: 'PopupSubMenu',
     Extends: PopupMenuBase,
 
@@ -1063,7 +1063,7 @@ const PopupSubMenu = new Lang.Class({
  * can add it to another menu), but is completely transparent
  * to the user
  */
-const PopupMenuSection = new Lang.Class({
+var PopupMenuSection = new Lang.Class({
     Name: 'PopupMenuSection',
     Extends: PopupMenuBase,
 
@@ -1081,7 +1081,7 @@ const PopupMenuSection = new Lang.Class({
     close: function() { this.emit('open-state-changed', false); },
 });
 
-const PopupSubMenuMenuItem = new Lang.Class({
+var PopupSubMenuMenuItem = new Lang.Class({
     Name: 'PopupSubMenuMenuItem',
     Extends: PopupBaseMenuItem,
 
@@ -1206,7 +1206,7 @@ const PopupSubMenuMenuItem = new Lang.Class({
 /* Basic implementation of a menu manager.
  * Call addMenu to add menus
  */
-const PopupMenuManager = new Lang.Class({
+var PopupMenuManager = new Lang.Class({
     Name: 'PopupMenuManager',
 
     _init: function(owner, grabParams) {
index 4aee3d7b1fc7bd32d37d6335f64bffea049a65a0..aeb9db58a848f15e3d0f7d4b1ca7ce3b27012a5d 100644 (file)
@@ -38,7 +38,7 @@ function _removeItem(menu, position) {
     items[position].destroy();
 }
 
-const RemoteMenuSeparatorItemMapper = new Lang.Class({
+var RemoteMenuSeparatorItemMapper = new Lang.Class({
     Name: 'RemoteMenuSeparatorItemMapper',
 
     _init: function(trackerItem) {
@@ -57,7 +57,7 @@ const RemoteMenuSeparatorItemMapper = new Lang.Class({
     },
 });
 
-const RequestSubMenu = new Lang.Class({
+var RequestSubMenu = new Lang.Class({
     Name: 'RequestSubMenu',
     Extends: PopupMenu.PopupSubMenuMenuItem,
 
@@ -76,7 +76,7 @@ const RequestSubMenu = new Lang.Class({
     },
 });
 
-const RemoteMenuSubmenuItemMapper = new Lang.Class({
+var RemoteMenuSubmenuItemMapper = new Lang.Class({
     Name: 'RemoteMenuSubmenuItemMapper',
 
     _init: function(trackerItem) {
@@ -112,7 +112,7 @@ const RemoteMenuSubmenuItemMapper = new Lang.Class({
     },
 });
 
-const RemoteMenuItemMapper = new Lang.Class({
+var RemoteMenuItemMapper = new Lang.Class({
     Name: 'RemoteMenuItemMapper',
 
     _init: function(trackerItem) {
@@ -176,7 +176,7 @@ const RemoteMenuItemMapper = new Lang.Class({
     },
 });
 
-const RemoteMenu = new Lang.Class({
+var RemoteMenu = new Lang.Class({
     Name: 'RemoteMenu',
     Extends: PopupMenu.PopupMenu,
 
index 5e1aadae42db0ba2401c3478a2d139d75d5d5c71..24897a59928fe7813bc34061a770e76e0b02fe6c 100644 (file)
@@ -181,7 +181,7 @@ function loadRemoteSearchProviders(searchSettings, callback) {
     callback(loadedProviders);
 }
 
-const RemoteSearchProvider = new Lang.Class({
+var RemoteSearchProvider = new Lang.Class({
     Name: 'RemoteSearchProvider',
 
     _init: function(appInfo, dbusName, dbusPath, proxyInfo) {
@@ -303,7 +303,7 @@ const RemoteSearchProvider = new Lang.Class({
     }
 });
 
-const RemoteSearchProvider2 = new Lang.Class({
+var RemoteSearchProvider2 = new Lang.Class({
     Name: 'RemoteSearchProvider2',
     Extends: RemoteSearchProvider,
 
index dedb9d47759c4f7f1ecce22527630e38b0a2cf61..6591cf5799d90bfe862281cb6bf456622e35842c 100644 (file)
@@ -30,7 +30,7 @@ const EXEC_ARG_KEY = 'exec-arg';
 
 const DIALOG_GROW_TIME = 0.1;
 
-const RunDialog = new Lang.Class({
+var RunDialog = new Lang.Class({
     Name: 'RunDialog',
     Extends: ModalDialog.ModalDialog,
 
index fd4f28c51d63a499f80217047256cd611e5ee7d4..af6b7df858b593d76c3bab7e4b790fe3e47faca0 100644 (file)
@@ -60,7 +60,7 @@ const MANUAL_FADE_TIME = 0.3;
 const BACKGROUND_FADE_TIME = 1.0;
 const CURTAIN_SLIDE_TIME = 0.3;
 
-const Clock = new Lang.Class({
+var Clock = new Lang.Class({
     Name: 'ScreenShieldClock',
 
     _init: function() {
@@ -95,7 +95,7 @@ const Clock = new Lang.Class({
     }
 });
 
-const NotificationsBox = new Lang.Class({
+var NotificationsBox = new Lang.Class({
     Name: 'NotificationsBox',
 
     _init: function() {
@@ -345,7 +345,7 @@ const NotificationsBox = new Lang.Class({
 });
 Signals.addSignalMethods(NotificationsBox.prototype);
 
-const Arrow = new Lang.Class({
+var Arrow = new Lang.Class({
     Name: 'Arrow',
     Extends: St.Bin,
 
@@ -431,7 +431,7 @@ function clamp(value, min, max) {
  * This will ensure that the screen blanks at the right time when it fades out.
  * https://bugzilla.gnome.org/show_bug.cgi?id=668703 explains the dependency.
  */
-const ScreenShield = new Lang.Class({
+var ScreenShield = new Lang.Class({
     Name: 'ScreenShield',
 
     _init: function() {
index bbda5fc5c30e9393ec6fef21b7d03bf31bf96aa0..c2259d66ac57641dc49863dc67fed0cfb26837ab 100644 (file)
@@ -32,7 +32,7 @@ const ScreencastIface = '<node> \
 </interface> \
 </node>';
 
-const ScreencastService = new Lang.Class({
+var ScreencastService = new Lang.Class({
     Name: 'ScreencastService',
 
     _init: function() {
index 3a095b1b802dfe3e02d38b34c097d6191f35953a..b8dfc161854588b31291697f054e84016993c1ae 100644 (file)
@@ -58,7 +58,7 @@ const ScreenshotIface = '<node> \
 </interface> \
 </node>';
 
-const ScreenshotService = new Lang.Class({
+var ScreenshotService = new Lang.Class({
     Name: 'ScreenshotService',
 
     _init: function() {
@@ -213,7 +213,7 @@ const ScreenshotService = new Lang.Class({
     }
 });
 
-const SelectArea = new Lang.Class({
+var SelectArea = new Lang.Class({
     Name: 'SelectArea',
 
     _init: function() {
@@ -340,7 +340,7 @@ Signals.addSignalMethods(SelectArea.prototype);
 
 const FLASHSPOT_ANIMATION_OUT_TIME = 0.5; // seconds
 
-const Flashspot = new Lang.Class({
+var Flashspot = new Lang.Class({
     Name: 'Flashspot',
     Extends: Lightbox.Lightbox,
 
index 4b2cd520ac348866493a14d914d61782f4681a99..8e705356ff6b9080bedfe58a719d96e96fad2d10 100644 (file)
@@ -24,7 +24,7 @@ const SEARCH_PROVIDERS_SCHEMA = 'org.gnome.desktop.search-providers';
 const MAX_LIST_SEARCH_RESULTS_ROWS = 5;
 const MAX_GRID_SEARCH_RESULTS_ROWS = 1;
 
-const MaxWidthBin = new Lang.Class({
+var MaxWidthBin = new Lang.Class({
     Name: 'MaxWidthBin',
     Extends: St.Bin,
 
@@ -44,7 +44,7 @@ const MaxWidthBin = new Lang.Class({
     }
 });
 
-const SearchResult = new Lang.Class({
+var SearchResult = new Lang.Class({
     Name: 'SearchResult',
 
     _init: function(provider, metaInfo, resultsView) {
@@ -68,7 +68,7 @@ const SearchResult = new Lang.Class({
 });
 Signals.addSignalMethods(SearchResult.prototype);
 
-const ListSearchResult = new Lang.Class({
+var ListSearchResult = new Lang.Class({
     Name: 'ListSearchResult',
     Extends: SearchResult,
 
@@ -136,7 +136,7 @@ const ListSearchResult = new Lang.Class({
     }
 });
 
-const GridSearchResult = new Lang.Class({
+var GridSearchResult = new Lang.Class({
     Name: 'GridSearchResult',
     Extends: SearchResult,
 
@@ -153,7 +153,7 @@ const GridSearchResult = new Lang.Class({
     }
 });
 
-const SearchResultsBase = new Lang.Class({
+var SearchResultsBase = new Lang.Class({
     Name: 'SearchResultsBase',
 
     _init: function(provider, resultsView) {
@@ -285,7 +285,7 @@ const SearchResultsBase = new Lang.Class({
     }
 });
 
-const ListSearchResults = new Lang.Class({
+var ListSearchResults = new Lang.Class({
     Name: 'ListSearchResults',
     Extends: SearchResultsBase,
 
@@ -344,7 +344,7 @@ const ListSearchResults = new Lang.Class({
 });
 Signals.addSignalMethods(ListSearchResults.prototype);
 
-const GridSearchResults = new Lang.Class({
+var GridSearchResults = new Lang.Class({
     Name: 'GridSearchResults',
     Extends: SearchResultsBase,
 
@@ -393,7 +393,7 @@ const GridSearchResults = new Lang.Class({
 });
 Signals.addSignalMethods(GridSearchResults.prototype);
 
-const SearchResults = new Lang.Class({
+var SearchResults = new Lang.Class({
     Name: 'SearchResults',
 
     _init: function() {
@@ -719,7 +719,7 @@ const SearchResults = new Lang.Class({
 });
 Signals.addSignalMethods(SearchResults.prototype);
 
-const ProviderInfo = new Lang.Class({
+var ProviderInfo = new Lang.Class({
     Name: 'ProviderInfo',
     Extends: St.Button,
 
index 2623029cf2c876e1eff543d5ca81e053d7392f5f..707ab3cb7f12bb4ec18f5993ba024a248b2b0369 100644 (file)
@@ -149,7 +149,7 @@ function listModes() {
     Mainloop.run('listModes');
 }
 
-const SessionMode = new Lang.Class({
+var SessionMode = new Lang.Class({
     Name: 'SessionMode',
 
     _init: function() {
index 8c9ff0c2dfc3f9f05a46feaecd5e98de92d5c27b..3fd24d2752c8d8ec88380874ab50235c9383eb5f 100644 (file)
@@ -79,7 +79,7 @@ const ScreenSaverIface = '<node> \
 </interface> \
 </node>';
 
-const GnomeShell = new Lang.Class({
+var GnomeShell = new Lang.Class({
     Name: 'GnomeShellDBus',
 
     _init: function() {
@@ -326,7 +326,7 @@ const GnomeShellExtensionsIface = '<node> \
 </interface> \
 </node>';
 
-const GnomeShellExtensions = new Lang.Class({
+var GnomeShellExtensions = new Lang.Class({
     Name: 'GnomeShellExtensionsDBus',
 
     _init: function() {
@@ -432,7 +432,7 @@ const GnomeShellExtensions = new Lang.Class({
     }
 });
 
-const ScreenSaverDBus = new Lang.Class({
+var ScreenSaverDBus = new Lang.Class({
     Name: 'ScreenSaverDBus',
 
     _init: function(screenShield) {
index a20d9a45b481bbbc52642fb960dad948e28b8f29..8bf84e4e214f73ae467aabb0bc8869633bdc9e37 100644 (file)
@@ -10,7 +10,7 @@ const Main = imports.ui.main;
 const Params = imports.misc.params;
 const PopupMenu = imports.ui.popupMenu;
 
-const EntryMenu = new Lang.Class({
+var EntryMenu = new Lang.Class({
     Name: 'ShellEntryMenu',
     Extends: PopupMenu.PopupMenu,
 
index 8f799e4b7448791163e6c7ef72077a8608fb0f74..6832abea78e544dbcb226825f7698b2206fa5348 100644 (file)
@@ -61,7 +61,7 @@ function _createIcon(gicon) {
 
 /* -------------------------------------------------------- */
 
-const ListItem = new Lang.Class({
+var ListItem = new Lang.Class({
     Name: 'ListItem',
 
     _init: function(app) {
@@ -98,7 +98,7 @@ const ListItem = new Lang.Class({
 });
 Signals.addSignalMethods(ListItem.prototype);
 
-const ShellMountOperation = new Lang.Class({
+var ShellMountOperation = new Lang.Class({
     Name: 'ShellMountOperation',
 
     _init: function(source, params) {
@@ -237,7 +237,7 @@ const ShellMountOperation = new Lang.Class({
     }
 });
 
-const ShellUnmountNotifier = new Lang.Class({
+var ShellUnmountNotifier = new Lang.Class({
     Name: 'ShellUnmountNotifier',
     Extends: MessageTray.Source,
 
@@ -277,7 +277,7 @@ const ShellUnmountNotifier = new Lang.Class({
     }
 });
 
-const ShellMountQuestionDialog = new Lang.Class({
+var ShellMountQuestionDialog = new Lang.Class({
     Name: 'ShellMountQuestionDialog',
     Extends: ModalDialog.ModalDialog,
 
@@ -295,7 +295,7 @@ const ShellMountQuestionDialog = new Lang.Class({
 });
 Signals.addSignalMethods(ShellMountQuestionDialog.prototype);
 
-const ShellMountPasswordDialog = new Lang.Class({
+var ShellMountPasswordDialog = new Lang.Class({
     Name: 'ShellMountPasswordDialog',
     Extends: ModalDialog.ModalDialog,
 
@@ -376,7 +376,7 @@ const ShellMountPasswordDialog = new Lang.Class({
     }
 });
 
-const ShellProcessesDialog = new Lang.Class({
+var ShellProcessesDialog = new Lang.Class({
     Name: 'ShellProcessesDialog',
     Extends: ModalDialog.ModalDialog,
 
@@ -480,7 +480,7 @@ const ShellMountOperationType = {
     SHOW_PROCESSES: 3
 };
 
-const GnomeShellMountOpHandler = new Lang.Class({
+var GnomeShellMountOpHandler = new Lang.Class({
     Name: 'GnomeShellMountOpHandler',
 
     _init: function() {
index fbd28bd5dd5a49503cf37e48a3e46ee25596227b..72ef23bb4abe0eccbc43a671a488f8410508919b 100644 (file)
@@ -9,7 +9,7 @@ const Signals = imports.signals;
 
 const SLIDER_SCROLL_STEP = 0.02; /* Slider scrolling step in % */
 
-const Slider = new Lang.Class({
+var Slider = new Lang.Class({
     Name: "Slider",
 
     _init: function(value) {
index 6aa1064dea78ff9a49ddfd0744c52d9e458f5d1a..79737e91835cc43028ed7224a0eb2907b774cf9d 100644 (file)
@@ -34,7 +34,7 @@ const KEY_TEXT_SCALING_FACTOR       = 'text-scaling-factor';
 
 const HIGH_CONTRAST_THEME           = 'HighContrast';
 
-const ATIndicator = new Lang.Class({
+var ATIndicator = new Lang.Class({
     Name: 'ATIndicator',
     Extends: PanelMenu.Button,
 
@@ -213,7 +213,7 @@ const ATIndicator = new Lang.Class({
     }
 });
 
-const ATGreeterIndicator = new Lang.Class({
+var ATGreeterIndicator = new Lang.Class({
     Name: 'ATGreeterIndicator',
     Extends: ATIndicator,
 
index 49955f7d102953052e9a6ea8bc2cfa76df81a886..e1e0b2e3c947c8554d5cd374c936e6dd61c92b0f 100644 (file)
@@ -22,7 +22,7 @@ const RfkillManagerProxy = Gio.DBusProxy.makeProxyWrapper(RfkillManagerInterface
 
 const HAD_BLUETOOTH_DEVICES_SETUP = 'had-bluetooth-devices-setup';
 
-const Indicator = new Lang.Class({
+var Indicator = new Lang.Class({
     Name: 'BTIndicator',
     Extends: PanelMenu.SystemIndicator,
 
index 96e07909ba068cebf418b075408272f9eb12834e..827d620e055235ba8609e9278d463f6429586b69 100644 (file)
@@ -19,7 +19,7 @@ const BrightnessInterface = '<node> \
 
 const BrightnessProxy = Gio.DBusProxy.makeProxyWrapper(BrightnessInterface);
 
-const Indicator = new Lang.Class({
+var Indicator = new Lang.Class({
     Name: 'BrightnessIndicator',
     Extends: PanelMenu.SystemIndicator,
 
index d4b14d538c3555ae53e42f084758d44e042bba8b..2d3d893bcb8fa78b2b24e6fc9a3935a31fc1d428 100644 (file)
@@ -22,7 +22,7 @@ const Util = imports.misc.util;
 const INPUT_SOURCE_TYPE_XKB = 'xkb';
 const INPUT_SOURCE_TYPE_IBUS = 'ibus';
 
-const LayoutMenuItem = new Lang.Class({
+var LayoutMenuItem = new Lang.Class({
     Name: 'LayoutMenuItem',
     Extends: PopupMenu.PopupBaseMenuItem,
 
@@ -37,7 +37,7 @@ const LayoutMenuItem = new Lang.Class({
     }
 });
 
-const InputSource = new Lang.Class({
+var InputSource = new Lang.Class({
     Name: 'InputSource',
 
     _init: function(type, id, displayName, shortName, index) {
@@ -78,7 +78,7 @@ const InputSource = new Lang.Class({
 });
 Signals.addSignalMethods(InputSource.prototype);
 
-const InputSourcePopup = new Lang.Class({
+var InputSourcePopup = new Lang.Class({
     Name: 'InputSourcePopup',
     Extends: SwitcherPopup.SwitcherPopup,
 
@@ -113,7 +113,7 @@ const InputSourcePopup = new Lang.Class({
     },
 });
 
-const InputSourceSwitcher = new Lang.Class({
+var InputSourceSwitcher = new Lang.Class({
     Name: 'InputSourceSwitcher',
     Extends: SwitcherPopup.SwitcherList,
 
@@ -139,7 +139,7 @@ const InputSourceSwitcher = new Lang.Class({
     }
 });
 
-const InputSourceSettings = new Lang.Class({
+var InputSourceSettings = new Lang.Class({
     Name: 'InputSourceSettings',
     Abstract: true,
 
@@ -177,7 +177,7 @@ const InputSourceSettings = new Lang.Class({
 });
 Signals.addSignalMethods(InputSourceSettings.prototype);
 
-const InputSourceSystemSettings = new Lang.Class({
+var InputSourceSystemSettings = new Lang.Class({
     Name: 'InputSourceSystemSettings',
     Extends: InputSourceSettings,
 
@@ -253,7 +253,7 @@ const InputSourceSystemSettings = new Lang.Class({
     }
 });
 
-const InputSourceSessionSettings = new Lang.Class({
+var InputSourceSessionSettings = new Lang.Class({
     Name: 'InputSourceSessionSettings',
     Extends: InputSourceSettings,
 
@@ -304,7 +304,7 @@ const InputSourceSessionSettings = new Lang.Class({
     }
 });
 
-const InputSourceManager = new Lang.Class({
+var InputSourceManager = new Lang.Class({
     Name: 'InputSourceManager',
 
     _init: function() {
@@ -774,7 +774,7 @@ function getInputSourceManager() {
     return _inputSourceManager;
 }
 
-const InputSourceIndicator = new Lang.Class({
+var InputSourceIndicator = new Lang.Class({
     Name: 'InputSourceIndicator',
     Extends: PanelMenu.Button,
 
index 8f4d2afc7f777588d86663078d92fbfaafd34e77..ef62685a1fadbfc13a28532e5e5cee004519fbc1 100644 (file)
@@ -64,7 +64,7 @@ var AgentIface = '<node> \
   </interface> \
 </node>';
 
-const Indicator = new Lang.Class({
+var Indicator = new Lang.Class({
     Name: 'LocationIndicator',
     Extends: PanelMenu.SystemIndicator,
 
@@ -252,7 +252,7 @@ function clamp(value, min, max) {
     return Math.max(min, Math.min(max, value));
 }
 
-const AppAuthorizer = new Lang.Class({
+var AppAuthorizer = new Lang.Class({
     Name: 'LocationAppAuthorizer',
 
     _init: function(desktopId,
@@ -374,7 +374,7 @@ const AppAuthorizer = new Lang.Class({
     },
 });
 
-const GeolocationDialog = new Lang.Class({
+var GeolocationDialog = new Lang.Class({
     Name: 'GeolocationDialog',
     Extends: ModalDialog.ModalDialog,
 
index 19c689b0cd6e935e506e526b9811c2891f29182c..69b6c001254ac8917631253711a8d73fad0fce6f 100644 (file)
@@ -126,7 +126,7 @@ function createSettingsAction(label, device) {
     return item;
 }
 
-const NMConnectionItem = new Lang.Class({
+var NMConnectionItem = new Lang.Class({
     Name: 'NMConnectionItem',
 
     _init: function(section, connection) {
@@ -220,7 +220,7 @@ const NMConnectionItem = new Lang.Class({
 });
 Signals.addSignalMethods(NMConnectionItem.prototype);
 
-const NMConnectionSection = new Lang.Class({
+var NMConnectionSection = new Lang.Class({
     Name: 'NMConnectionSection',
     Abstract: true,
 
@@ -352,7 +352,7 @@ const NMConnectionSection = new Lang.Class({
 });
 Signals.addSignalMethods(NMConnectionSection.prototype);
 
-const NMConnectionDevice = new Lang.Class({
+var NMConnectionDevice = new Lang.Class({
     Name: 'NMConnectionDevice',
     Extends: NMConnectionSection,
     Abstract: true,
@@ -506,7 +506,7 @@ const NMConnectionDevice = new Lang.Class({
     },
 });
 
-const NMDeviceWired = new Lang.Class({
+var NMDeviceWired = new Lang.Class({
     Name: 'NMDeviceWired',
     Extends: NMConnectionDevice,
     category: NMConnectionCategory.WIRED,
@@ -548,7 +548,7 @@ const NMDeviceWired = new Lang.Class({
     }
 });
 
-const NMDeviceModem = new Lang.Class({
+var NMDeviceModem = new Lang.Class({
     Name: 'NMDeviceModem',
     Extends: NMConnectionDevice,
     category: NMConnectionCategory.WWAN,
@@ -627,7 +627,7 @@ const NMDeviceModem = new Lang.Class({
     },
 });
 
-const NMDeviceBluetooth = new Lang.Class({
+var NMDeviceBluetooth = new Lang.Class({
     Name: 'NMDeviceBluetooth',
     Extends: NMConnectionDevice,
     category: NMConnectionCategory.WWAN,
@@ -661,7 +661,7 @@ const NMDeviceBluetooth = new Lang.Class({
     }
 });
 
-const NMWirelessDialogItem = new Lang.Class({
+var NMWirelessDialogItem = new Lang.Class({
     Name: 'NMWirelessDialogItem',
 
     _init: function(network) {
@@ -726,7 +726,7 @@ const NMWirelessDialogItem = new Lang.Class({
 });
 Signals.addSignalMethods(NMWirelessDialogItem.prototype);
 
-const NMWirelessDialog = new Lang.Class({
+var NMWirelessDialog = new Lang.Class({
     Name: 'NMWirelessDialog',
     Extends: ModalDialog.ModalDialog,
 
@@ -1187,7 +1187,7 @@ const NMWirelessDialog = new Lang.Class({
     },
 });
 
-const NMDeviceWireless = new Lang.Class({
+var NMDeviceWireless = new Lang.Class({
     Name: 'NMDeviceWireless',
     category: NMConnectionCategory.WIRELESS,
 
@@ -1405,7 +1405,7 @@ const NMDeviceWireless = new Lang.Class({
 });
 Signals.addSignalMethods(NMDeviceWireless.prototype);
 
-const NMVPNConnectionItem = new Lang.Class({
+var NMVPNConnectionItem = new Lang.Class({
     Name: 'NMVPNConnectionItem',
     Extends: NMConnectionItem,
 
@@ -1494,7 +1494,7 @@ const NMVPNConnectionItem = new Lang.Class({
     },
 });
 
-const NMVPNSection = new Lang.Class({
+var NMVPNSection = new Lang.Class({
     Name: 'NMVPNSection',
     Extends: NMConnectionSection,
     category: NMConnectionCategory.VPN,
@@ -1589,7 +1589,7 @@ const NMVPNSection = new Lang.Class({
 });
 Signals.addSignalMethods(NMVPNSection.prototype);
 
-const DeviceCategory = new Lang.Class({
+var DeviceCategory = new Lang.Class({
     Name: 'DeviceCategory',
     Extends: PopupMenu.PopupMenuSection,
 
@@ -1656,7 +1656,7 @@ const DeviceCategory = new Lang.Class({
     }
 });
 
-const NMApplet = new Lang.Class({
+var NMApplet = new Lang.Class({
     Name: 'NMApplet',
     Extends: PanelMenu.SystemIndicator,
 
index b97710ccf98d4510e9b2f0f209e75a97540fe328..a7a8e42c4535f4bd39b87009c00611f801fb4615 100644 (file)
@@ -19,7 +19,7 @@ const ColorInterface = '<node> \
 
 const ColorProxy = Gio.DBusProxy.makeProxyWrapper(ColorInterface);
 
-const Indicator = new Lang.Class({
+var Indicator = new Lang.Class({
     Name: 'NightLightIndicator',
     Extends: PanelMenu.SystemIndicator,
 
index 30b5e0498afd2354345135b43aab7461a4ed3d40..cd0adb61f8cd67d0f42c96982e5c8905d71b6bf1 100644 (file)
@@ -29,7 +29,7 @@ const PowerManagerProxy = Gio.DBusProxy.makeProxyWrapper(DisplayDeviceInterface)
 
 const SHOW_BATTERY_PERCENTAGE       = 'show-battery-percentage';
 
-const Indicator = new Lang.Class({
+var Indicator = new Lang.Class({
     Name: 'PowerIndicator',
     Extends: PanelMenu.SystemIndicator,
 
index b5470f58e4d2e1bb27381f8516dadeda67bd62bf..f092d5d577f74716445e0c7438e33f88097e7b2a 100644 (file)
@@ -21,7 +21,7 @@ const RfkillManagerInterface = '<node> \
 
 const RfkillManagerProxy = Gio.DBusProxy.makeProxyWrapper(RfkillManagerInterface);
 
-const RfkillManager = new Lang.Class({
+var RfkillManager = new Lang.Class({
     Name: 'RfkillManager',
 
     _init: function() {
@@ -68,7 +68,7 @@ function getRfkillManager() {
     return _manager;
 }
 
-const Indicator = new Lang.Class({
+var Indicator = new Lang.Class({
     Name: 'RfkillIndicator',
     Extends: PanelMenu.SystemIndicator,
 
index 7a35ff0fbc0c1d53e25df74a273d509fbad1e929..b9f41fe9fdc1cf217427d1c6c2ea50825626442e 100644 (file)
@@ -5,7 +5,7 @@ const Lang = imports.lang;
 const Main = imports.ui.main;
 const PanelMenu = imports.ui.panelMenu;
 
-const Indicator = new Lang.Class({
+var Indicator = new Lang.Class({
     Name: 'ScreencastIndicator',
     Extends: PanelMenu.SystemIndicator,
 
index 8f99865e6e3590c8d3bfda2579202ffa1d8f0f6d..604183f69f8dd41eb9cc756e33db3397f42d84e0 100644 (file)
@@ -36,7 +36,7 @@ const SensorProxyInterface = '<node> \
 
 const SensorProxy = Gio.DBusProxy.makeProxyWrapper(SensorProxyInterface);
 
-const AltSwitcher = new Lang.Class({
+var AltSwitcher = new Lang.Class({
     Name: 'AltSwitcher',
 
     _init: function(standard, alternate) {
@@ -131,7 +131,7 @@ const AltSwitcher = new Lang.Class({
     }
 });
 
-const Indicator = new Lang.Class({
+var Indicator = new Lang.Class({
     Name: 'SystemIndicator',
     Extends: PanelMenu.SystemIndicator,
 
index 1922c3a376990ec3e40049837efdc22f23702f40..98a77254ff470000c38e24e45e1816e19b052ff9 100644 (file)
@@ -27,7 +27,7 @@ function getMixerControl() {
     return _mixerControl;
 }
 
-const StreamSlider = new Lang.Class({
+var StreamSlider = new Lang.Class({
     Name: 'StreamSlider',
 
     _init: function(control) {
@@ -161,7 +161,7 @@ const StreamSlider = new Lang.Class({
 });
 Signals.addSignalMethods(StreamSlider.prototype);
 
-const OutputStreamSlider = new Lang.Class({
+var OutputStreamSlider = new Lang.Class({
     Name: 'OutputStreamSlider',
     Extends: StreamSlider,
 
@@ -212,7 +212,7 @@ const OutputStreamSlider = new Lang.Class({
     }
 });
 
-const InputStreamSlider = new Lang.Class({
+var InputStreamSlider = new Lang.Class({
     Name: 'InputStreamSlider',
     Extends: StreamSlider,
 
@@ -255,7 +255,7 @@ const InputStreamSlider = new Lang.Class({
     }
 });
 
-const VolumeMenu = new Lang.Class({
+var VolumeMenu = new Lang.Class({
     Name: 'VolumeMenu',
     Extends: PopupMenu.PopupMenuSection,
 
@@ -313,7 +313,7 @@ const VolumeMenu = new Lang.Class({
     }
 });
 
-const Indicator = new Lang.Class({
+var Indicator = new Lang.Class({
     Name: 'VolumeIndicator',
     Extends: PanelMenu.SystemIndicator,
 
index 4538ceb3801b05cefe0de4ae961fdee566531a0a..6f7c472abdbf4b610bd155ce87b30345455d7620 100644 (file)
@@ -36,7 +36,7 @@ function primaryModifier(mask) {
     return primary;
 }
 
-const SwitcherPopup = new Lang.Class({
+var SwitcherPopup = new Lang.Class({
     Name: 'SwitcherPopup',
     Abstract: true,
 
@@ -295,7 +295,7 @@ const SwitcherPopup = new Lang.Class({
     }
 });
 
-const SwitcherList = new Lang.Class({
+var SwitcherList = new Lang.Class({
     Name: 'SwitcherList',
 
     _init : function(squareItems) {
index d73214518e9f6a38f2c6bb57bc5e00a8419e01e3..6b1d24c2337c37d03cc3430851793adcafc25045 100644 (file)
@@ -162,7 +162,7 @@ function registerSpecialPropertySplitter(name, splitFunction, parameters) {
 // time updates; even better is to pay attention to the vertical
 // vblank and sync to that when possible.)
 //
-const ClutterFrameTicker = new Lang.Class({
+var ClutterFrameTicker = new Lang.Class({
     Name: 'ClutterFrameTicker',
 
     FRAME_RATE : 60,
index f4a73746ba2c6053b3b51c99bbd5eb807dad2010..baead5a6f28a37bae6ded91f7349d66704075b4e 100644 (file)
@@ -28,7 +28,7 @@ const LoginDialog = imports.gdm.loginDialog;
 // The timeout before going back automatically to the lock screen (in seconds)
 const IDLE_TIMEOUT = 2 * 60;
 
-const UnlockDialog = new Lang.Class({
+var UnlockDialog = new Lang.Class({
     Name: 'UnlockDialog',
 
     _init: function(parentActor) {
index 5286ad14eab7273177e7993b3fec3e7478ef5c52..68c1d844c1d27f16896f5726444581d43d66928d 100644 (file)
@@ -19,7 +19,7 @@ const AVATAR_ICON_SIZE = 64;
 // Copyright (C) 2004-2005 James M. Cape <jcape@ignore-your.tv>.
 // Copyright (C) 2008,2009 Red Hat, Inc.
 
-const Avatar = new Lang.Class({
+var Avatar = new Lang.Class({
     Name: 'Avatar',
 
     _init: function(user, params) {
@@ -59,7 +59,7 @@ const Avatar = new Lang.Class({
     }
 });
 
-const UserWidgetLabel = new Lang.Class({
+var UserWidgetLabel = new Lang.Class({
     Name: 'UserWidgetLabel',
     Extends: St.Widget,
 
@@ -144,7 +144,7 @@ const UserWidgetLabel = new Lang.Class({
     },
 });
 
-const UserWidget = new Lang.Class({
+var UserWidget = new Lang.Class({
     Name: 'UserWidget',
 
     _init: function(user) {
index a0c90070257e8d8937b7dcf3e028f0d48d204433..942086a5f1caab2ac75f89c2a8284eacb7d114ce 100644 (file)
@@ -32,7 +32,7 @@ const ViewPage = {
     SEARCH: 3
 };
 
-const FocusTrap = new Lang.Class({
+var FocusTrap = new Lang.Class({
     Name: 'FocusTrap',
     Extends: St.Widget,
 
@@ -53,7 +53,7 @@ function getTermsForSearchString(searchString) {
     return terms;
 }
 
-const TouchpadShowOverviewAction = new Lang.Class({
+var TouchpadShowOverviewAction = new Lang.Class({
     Name: 'TouchpadShowOverviewAction',
 
     _init: function(actor) {
@@ -75,7 +75,7 @@ const TouchpadShowOverviewAction = new Lang.Class({
 });
 Signals.addSignalMethods(TouchpadShowOverviewAction.prototype);
 
-const ShowOverviewAction = new Lang.Class({
+var ShowOverviewAction = new Lang.Class({
     Name: 'ShowOverviewAction',
     Extends: Clutter.GestureAction,
     Signals: { 'activated': { param_types: [GObject.TYPE_DOUBLE] } },
@@ -138,7 +138,7 @@ const ShowOverviewAction = new Lang.Class({
     }
 });
 
-const ViewSelector = new Lang.Class({
+var ViewSelector = new Lang.Class({
     Name: 'ViewSelector',
 
     _init : function(searchEntry, showAppsButton) {
index 2f8204215da1ebd915e58b09271454c9dfd62a42..d56f6b20beca529dbe0401fdf2e0bfa328697864 100644 (file)
@@ -6,7 +6,7 @@ const Shell = imports.gi.Shell;
 const Main = imports.ui.main;
 const MessageTray = imports.ui.messageTray;
 
-const WindowAttentionHandler = new Lang.Class({
+var WindowAttentionHandler = new Lang.Class({
     Name: 'WindowAttentionHandler',
 
     _init : function() {
@@ -54,7 +54,7 @@ const WindowAttentionHandler = new Lang.Class({
     }
 });
 
-const Source = new Lang.Class({
+var Source = new Lang.Class({
     Name: 'WindowAttentionSource',
     Extends: MessageTray.Source,
 
index 0b8ba53e8eaa213c941a3f056bd995b4eae867dc..73eae5d818ef55569fc8a36ba7f55f04361f5b22 100644 (file)
@@ -55,7 +55,7 @@ const GsdWacomIface = '<node name="/org/gnome/SettingsDaemon/Wacom"> \
 
 const GsdWacomProxy = Gio.DBusProxy.makeProxyWrapper(GsdWacomIface);
 
-const DisplayChangeDialog = new Lang.Class({
+var DisplayChangeDialog = new Lang.Class({
     Name: 'DisplayChangeDialog',
     Extends: ModalDialog.ModalDialog,
 
@@ -131,7 +131,7 @@ const DisplayChangeDialog = new Lang.Class({
     },
 });
 
-const WindowDimmer = new Lang.Class({
+var WindowDimmer = new Lang.Class({
     Name: 'WindowDimmer',
 
     _init: function(actor) {
@@ -185,7 +185,7 @@ function getWindowDimmer(actor) {
  */
 const LAST_WINDOW_GRACE_TIME = 1000;
 
-const WorkspaceTracker = new Lang.Class({
+var WorkspaceTracker = new Lang.Class({
     Name: 'WorkspaceTracker',
 
     _init: function(wm) {
@@ -389,7 +389,7 @@ const WorkspaceTracker = new Lang.Class({
     }
 });
 
-const TilePreview = new Lang.Class({
+var TilePreview = new Lang.Class({
     Name: 'TilePreview',
 
     _init: function() {
@@ -476,7 +476,7 @@ const TilePreview = new Lang.Class({
     }
 });
 
-const TouchpadWorkspaceSwitchAction = new Lang.Class({
+var TouchpadWorkspaceSwitchAction = new Lang.Class({
     Name: 'TouchpadWorkspaceSwitchAction',
 
     _init: function(actor) {
@@ -532,7 +532,7 @@ const TouchpadWorkspaceSwitchAction = new Lang.Class({
 });
 Signals.addSignalMethods(TouchpadWorkspaceSwitchAction.prototype);
 
-const WorkspaceSwitchAction = new Lang.Class({
+var WorkspaceSwitchAction = new Lang.Class({
     Name: 'WorkspaceSwitchAction',
     Extends: Clutter.SwipeAction,
     Signals: { 'activated': { param_types: [Meta.MotionDirection.$gtype] } },
@@ -574,7 +574,7 @@ const WorkspaceSwitchAction = new Lang.Class({
     }
 });
 
-const AppSwitchAction = new Lang.Class({
+var AppSwitchAction = new Lang.Class({
     Name: 'AppSwitchAction',
     Extends: Clutter.GestureAction,
     Signals: { 'activated': {} },
@@ -640,7 +640,7 @@ const AppSwitchAction = new Lang.Class({
     }
 });
 
-const ResizePopup = new Lang.Class({
+var ResizePopup = new Lang.Class({
     Name: 'ResizePopup',
 
     _init: function() {
@@ -669,7 +669,7 @@ const ResizePopup = new Lang.Class({
     },
 });
 
-const WindowManager = new Lang.Class({
+var WindowManager = new Lang.Class({
     Name: 'WindowManager',
 
     _init : function() {
index 4e2a18b5bc14982d0863eb5e4b3f059215bf29cb..7aa57beb31db35d1a476c374e7c7d399d152a56a 100644 (file)
@@ -11,7 +11,7 @@ const Main = imports.ui.main;
 const PopupMenu = imports.ui.popupMenu;
 const RemoteMenu = imports.ui.remoteMenu;
 
-const WindowMenu = new Lang.Class({
+var WindowMenu = new Lang.Class({
     Name: 'WindowMenu',
     Extends: PopupMenu.PopupMenu,
 
@@ -165,7 +165,7 @@ const WindowMenu = new Lang.Class({
     }
 });
 
-const AppMenu = new Lang.Class({
+var AppMenu = new Lang.Class({
     Name: 'AppMenu',
     Extends: RemoteMenu.RemoteMenu,
 
@@ -184,7 +184,7 @@ const AppMenu = new Lang.Class({
     }
 });
 
-const WindowMenuManager = new Lang.Class({
+var WindowMenuManager = new Lang.Class({
     Name: 'WindowMenuManager',
 
     _init: function() {
index 630e2f6746d1acdc1646788d27a9390e840e6794..a7c229f9b0daea50ab69ad51dfe1948d14fe41fe 100644 (file)
@@ -40,7 +40,7 @@ function _interpolate(start, end, step) {
     return start + (end - start) * step;
 }
 
-const WindowCloneLayout = new Lang.Class({
+var WindowCloneLayout = new Lang.Class({
     Name: 'WindowCloneLayout',
     Extends: Clutter.LayoutManager,
 
@@ -102,7 +102,7 @@ const WindowCloneLayout = new Lang.Class({
     }
 });
 
-const WindowClone = new Lang.Class({
+var WindowClone = new Lang.Class({
     Name: 'WindowClone',
 
     _init : function(realWindow, workspace) {
@@ -423,7 +423,7 @@ Signals.addSignalMethods(WindowClone.prototype);
  * @parentActor: The actor which will be the parent of all overlay items
  *               such as app icon and window caption
  */
-const WindowOverlay = new Lang.Class({
+var WindowOverlay = new Lang.Class({
     Name: 'WindowOverlay',
 
     _init : function(windowClone, parentActor) {
@@ -811,7 +811,7 @@ const WindowPositionFlags = {
 // each window's "cell" area to be the same, but we shrink the thumbnail
 // and center it horizontally, and align it to the bottom vertically.
 
-const LayoutStrategy = new Lang.Class({
+var LayoutStrategy = new Lang.Class({
     Name: 'LayoutStrategy',
     Abstract: true,
 
@@ -983,7 +983,7 @@ const LayoutStrategy = new Lang.Class({
     }
 });
 
-const UnalignedLayoutStrategy = new Lang.Class({
+var UnalignedLayoutStrategy = new Lang.Class({
     Name: 'UnalignedLayoutStrategy',
     Extends: LayoutStrategy,
 
@@ -1094,7 +1094,7 @@ function rectEqual(one, two) {
 /**
  * @metaWorkspace: a #Meta.Workspace, or null
  */
-const Workspace = new Lang.Class({
+var Workspace = new Lang.Class({
     Name: 'Workspace',
 
     _init : function(metaWorkspace, monitorIndex) {
index b0a101a340d2197aed336e8b9789f8be7993f8bc..b4ed716a396c416a835655381c51b442130a2541 100644 (file)
@@ -15,7 +15,7 @@ const Tweener = imports.ui.tweener;
 const ANIMATION_TIME = 0.1;
 const DISPLAY_TIMEOUT = 600;
 
-const WorkspaceSwitcherPopup = new Lang.Class({
+var WorkspaceSwitcherPopup = new Lang.Class({
     Name: 'WorkspaceSwitcherPopup',
 
     _init : function() {
index c5472bb2b299bdfa772b038ea7553e77987877e6..645af5c901e8b1a4190d014a57b900a79ab0c43b 100644 (file)
@@ -35,7 +35,7 @@ const OVERRIDE_SCHEMA = 'org.gnome.shell.overrides';
 
 /* A layout manager that requests size only for primary_actor, but then allocates
    all using a fixed layout */
-const PrimaryActorLayout = new Lang.Class({
+var PrimaryActorLayout = new Lang.Class({
     Name: 'PrimaryActorLayout',
     Extends: Clutter.FixedLayout,
 
@@ -54,7 +54,7 @@ const PrimaryActorLayout = new Lang.Class({
     },
 });
 
-const WindowClone = new Lang.Class({
+var WindowClone = new Lang.Class({
     Name: 'WindowClone',
 
     _init : function(realWindow) {
@@ -254,7 +254,7 @@ const ThumbnailState = {
 /**
  * @metaWorkspace: a #Meta.Workspace
  */
-const WorkspaceThumbnail = new Lang.Class({
+var WorkspaceThumbnail = new Lang.Class({
     Name: 'WorkspaceThumbnail',
 
     _init : function(metaWorkspace) {
@@ -612,7 +612,7 @@ const WorkspaceThumbnail = new Lang.Class({
 Signals.addSignalMethods(WorkspaceThumbnail.prototype);
 
 
-const ThumbnailsBox = new Lang.Class({
+var ThumbnailsBox = new Lang.Class({
     Name: 'ThumbnailsBox',
 
     _init: function() {
index 2eacb5f2ded2a3f1ab553377aab87b7cb7c1a902..d4b265c4e0f75a15f56506bb92bd8c2204e38ee8 100644 (file)
@@ -26,7 +26,7 @@ const AnimationType = {
 
 const OVERRIDE_SCHEMA = 'org.gnome.shell.overrides';
 
-const WorkspacesViewBase = new Lang.Class({
+var WorkspacesViewBase = new Lang.Class({
     Name: 'WorkspacesViewBase',
 
     _init: function(monitorIndex) {
@@ -86,7 +86,7 @@ const WorkspacesViewBase = new Lang.Class({
     },
 });
 
-const WorkspacesView = new Lang.Class({
+var WorkspacesView = new Lang.Class({
     Name: 'WorkspacesView',
     Extends: WorkspacesViewBase,
 
@@ -352,7 +352,7 @@ const WorkspacesView = new Lang.Class({
 });
 Signals.addSignalMethods(WorkspacesView.prototype);
 
-const ExtraWorkspaceView = new Lang.Class({
+var ExtraWorkspaceView = new Lang.Class({
     Name: 'ExtraWorkspaceView',
     Extends: WorkspacesViewBase,
 
@@ -402,7 +402,7 @@ const ExtraWorkspaceView = new Lang.Class({
     },
 });
 
-const DelegateFocusNavigator = new Lang.Class({
+var DelegateFocusNavigator = new Lang.Class({
     Name: 'DelegateFocusNavigator',
     Extends: St.Widget,
 
@@ -411,7 +411,7 @@ const DelegateFocusNavigator = new Lang.Class({
     },
 });
 
-const WorkspacesDisplay = new Lang.Class({
+var WorkspacesDisplay = new Lang.Class({
     Name: 'WorkspacesDisplay',
 
     _init: function() {
index 1557396a22c1bae6df076750627969d19c777b1c..4be62e2cc7d03fecc040a286f849d8123ced1355 100644 (file)
@@ -8,7 +8,7 @@ const Shell = imports.gi.Shell;
 const Signals = imports.signals;
 const DND = imports.ui.dnd;
 
-const XdndHandler = new Lang.Class({
+var XdndHandler = new Lang.Class({
     Name: 'XdndHandler',
 
     _init: function() {